Sorting tweets in queue