Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple sorting on 2-dimensional arrays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Multiple sorting on 2-dimensional arrays
Divers
Thread ID:
00188684
Message ID:
00188684
Vues:
54
Hello, All!

If I have a 2-dimensional array like so:


2 A
2 B
1 A
1 B


..and I want it sorted to look like:


1 A
1 B
2 A
2 B


Anybody know a trick for this? I tried ASORT(2), and then ASORT(1), and vice versa, but wrong results.
Yes, I know you can do this programatically.

Thanks in advance!
Mark
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform