I Know this question has a lot of answers, for example: How to sort pandas data frame using values from several columns?
I tried the solutions given by the users, bu
If I'm understanding you correctly, you're trying to sort that df by 'retweets'? use:
maxTweets_sorted = maxTweets.sort_values(by='Retweets')