Reordering list based on items' value

I’m trying to figure out if it’s possible to reorder a list based on its items value.

The list could be one to four D. Let’s say I pick the X column and I want to reorder the items based on the ascending value of X. Or I pick X and Y and I want to reorder the list based on the ascending average value X and Y. That kind of thing.

Is it possible?

There are Sort Points by X Distance, Sort Points by Y Distance, etc. nodes.

For sorting other data types / more general sorting, there’s an open feature request:

Ah, yes… Already applied to the composition. Thanks!