I\'m currently reviewing R for Data Science when I encounter this chunk of code. I don\'t understand the necessity of the arrange function here. Doesn\'t