I\'m really lost here and trying to come up with a method to sort different 3d curves that have no relation. Visually, any human could look at them and figure out (albeit slowly