I have a 3x3x3 grid of objects in a collection (intended to be used with non-duplicate objects), I want to sort them by x y and z and have them fed into a loop and animate transformations. I previously did this with index id keys and 3 sort list nodes; one for each axis fed through each other. but the sort list node has since been removed hence why I'm stuck.
I've tried separating the list vectors, running them each through an expression node with sorted(e)
but but I'm stuck at how to take X list and sort it by Y, and then Y by Z. any solution or help is greatly appreciated :)
this is all working except it lacks the control im looking for as to what axis and direction the process begins with
rather than it going from left to right, I want the control to set it so the order is back to front, and then upwards
EDIT: after many hours of tweaking i finally came to a solution using the expressions given to me by gorgious and some extra tweaks:
I used gorgious's method nearly exactly but before feeding the object list into the expression nodes, I created 3 sets of id keys for each axis, input them with object id key nodes, combined them into a vector list and output them into an object transforms output node. the result is full control over direction of animation.