I'm wondering... how should the multidimension array be sorted?

every part against it counterparts or each peace of dimension with same type of peaces?
or even all fields in all dimensions according to all fields?

then, adding there the ability for user to choose between those and say what is the sort-level...

the code would not be normal udf anymore!
it would be a collection of udf's...
 
_________________________
!

download KiXnet