Add ability to sort by in search