added sorting of tweets