Sort point with Y and Z coordinates

This is finally working!!
image
Last question, is there a way of creating a new flatten list following this order?

Also I would like to have both Y and Z coordinates as crescent, whereas we have Z crescent and Y decrescent
image

List.Flatten and List.Reverse should work for the last two questions.

@jacob.small the flatten works properly, but the reverse is changing the Z whereas I need the Y

Hello @MariaLauraLeonardi
like this

perfect! Thanks