If timeline is a Data Frame that contains a column favorite_count what does timeline <- timeline[order(-favorite_count), ] do ?
timeline
favorite_count
timeline <- timeline[order(-favorite_count), ]
Orders the timeline Data Frame by the number contained in favorite_count in descending order.