fixed sorting without lat and long