On Mon, 20 May 2024 at 15:40, Paul King <pa...@asert.com.au> wrote: > What sort result are you trying to achieve? There should be no need to > perform any recursion. >
Main target was reordering some set of randomly ordered x,y coordinates into (*for example**) a *x,y*(*left to right, top to bottom*) order (**:where any of the actual sort directions could be easily flipped*). So far "**.sort{[it.y, it.x]}*" seems the best and easiest way to do this (*despite its Float/Double caveat*).