sorting retreived tweets by date and some minor changes