Fixed sort on search