but:
$Hands[1] = Hands_Sort($Hands[1])
is the error coming from input or output?
I haven't even once needed pure multidim arrays.
as dynamic arrays of arrays are easier to control and you can redim them as much as you want.
_________________________
!download
KiXnet