fixed search results sorting