fixed the sorting to accomadate for replies sort and also added sort by date which is an option after sorting by location is clicked