Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple sorting on 2-dimensional arrays
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Multiple sorting on 2-dimensional arrays
Miscellaneous
Thread ID:
00188684
Message ID:
00188684
Views:
55
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.
Next
Reply
Map
View

Click here to load this message in the networking platform