A simple GPX "sanitizer": it tries to sort <trkpt/>s elements from <trakseg/> by proximity