Testing for new sort_array_coordinates.
Add floating point tolerance in sorting.