"Duck" is a grasshopper plugin that contains a series of 27 components that execute the sorting function on various types of geometries (points, curves,breps, meshes...etc). Also, a new function is added that the geometries can be sorted flexible by assigning a reference point. Plus, it provides an application that reorganises sub-divided surfaces with a correct and customised data structure. Works with Rhino 5 and 6 windows system, written in Python as userobject file.
If there is any bug, feel free to comment, I'll fix it as soon as possible.