Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting multi-dimensional arrays
Message
From
19/03/2002 06:25:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/03/2002 20:00:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00634318
Message ID:
00634391
Views:
18
>Hi,
>
>I am having a hard time understanding the help file for asort() in vfp 7. I have a multidimentional array and I want to sort it by column1+column2. Can anybody point me in the right direction?
>
>Thanks,
>Chris

Perhaps you can sort first on Column2, then on Column1. This may - or may not - maintain the sort order on the second column, where applicable (that is, where Column1 is the same). Try it.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform