Sorting implemented on Search page