fix search sorting and save sorting with saved search