Compare https://en.wikipedia.org/wiki/Special:Nearby#/page/Empire_State_Building
to https://en.wikipedia.org/wiki/Special:Nearby#/coord/40.748433,-73.985656
When searching by coordinate the sort order is correct, but when searching by page the sorting is lost. It looks like searching by geocordinate is re-sorting after retrieving the pages from api, while by page is not. Because the api is being used as a generator the returned sort order is completely arbitrary.
Remaining work
- Sort by index given by GeoData (thanks @MaxSem!) in Nearby special page