added sort to location predictions