Sorting points to match another point list

If you have a known level of tolerance it would be easier to rebuild all your points to that tolerance and then compare. When comparing point or curve geometry like this it’s also best to compare strings rather than the actual geometry objects, as the stored values may not be exactly the same even if they appear to match.