fix search sort by