Added ability to toggle between sorting by location or likes