Fixed sort on appointment search