Fixed sorting of posts when results are returned for searches; added ability to sort search results by timestamp and vote score