I need to sort five price values and keep track of the labels associated with those prices so that I know what the values represent when I'm done. I need to do both ascending and descending sort depending upon varying conditions.
Rather than re-invent the wheel, I was hoping someone had a nice sort routine for two-dimensional arrays they would be willing to share.
If there is an easier way than using a two-dimensional array, I'm open to ideas.
Thanks
Rather than re-invent the wheel, I was hoping someone had a nice sort routine for two-dimensional arrays they would be willing to share.
If there is an easier way than using a two-dimensional array, I'm open to ideas.
Thanks
Comment