[Purdue-pm] How to sort one dimension of a 2d array
Joe Kline
gizmo at purdue.edu
Fri Jan 29 08:19:03 PST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rick Westerman wrote:
> So if I am not missing something here, basically you have an array
> of arrays but then are deconstructing the data into separate arrays thus
> destroying any relationship between the data. That seems strange to
> me. But if so I'd map all of the data into their separate arrays, sort
> those arrays and then remap that the information into your array of
> arrays. Or just skip that final step and deal with the separate arrays
> since the data no longer has any relationship.
Here's a perlmonks node about this:
http://www.perlmonks.org/?node_id=15209
joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
iD8DBQFLYwp2b0mzA2gRTpkRAsQuAJ4pTyUzWDGmoUttUhzq9thnNY+qiACfWrGl
a1Oh5uxUjvtpUhTSkNudm7g=
=A5Co
-----END PGP SIGNATURE-----
More information about the Purdue-pm
mailing list