Refining geo-sort, hopefully better performance.
Improving performance