You could try something like this:
import clr
orglst = IN[0]
orglst.sort(key = lambda orglst: (orglst.X, orglst.Y, orglst.Z))
OUT = orglst
You could try something like this:
import clr
orglst = IN[0]
orglst.sort(key = lambda orglst: (orglst.X, orglst.Y, orglst.Z))
OUT = orglst