Do custom sorting on the map side.