Ways to rearrange points

Hello,
are there ways to rearrange a list of points in pcg for example in an ascending order based on their position?

Ever found the solution to this one?
I’ve come across this github library that does pathfinding inside a group of points so it’s definitely doable – however the code is good for editor and 5.2 only, and is too expensive to run at runtime (from my understanding it duplicates the point data in memory to another format that stores neighboring connections based on distance, does the calculation on that, and then re-output an ordered list of points in blueprints)