fixed sorting order by changing sorting heuristic to taxicab distance