How to sort by "Number" of adaptive points instance in Rhino.Inside Revit

This is the link with the solution by @Japhy