Correct sort algorithm on nearby

When no coordinates are returned by API (bug 47133)
ensure these results appear at top
Treat these as having a distance of 0 so as not to break sorting for
the entire page.

Change-Id: I433356c59a8ea0a397a8de0f684237fcafb24faf
Merge "Correct sort algorithm on nearby"