From: Kent M Pitman
Subject: Re: question on sort
Date: 
Message-ID: <sfwvgxkom75.fsf@world.std.com>
kp gores <·····@sip.medizin.uni-ulm.de> writes:

...
> unfortunately they sort only sequences or vectors. I'd like to sort 
> arrays of whatever dimensions (my array is (* 6)).
> The key should be a element in the array (eg. accessor for column 2).
...
>  BTW, 1) how do i declare the types of the columns in my array?

Arrays are assumed to be of homogenous type.  Given your desire not to
have this be so, coupled with your desire to sort, I suggest that what
you want is not a single array of high arity but rather a vector of vectors,
or better still, a vector of structs.