Can you really only sort arrays in ascending order? Or is there other ways people get around this?
I have a 2D array with 7 rows:
Score, TeamName
and I want to sort so the highest score is at the top.. then I can print to the screen
Sort(X)
For each Element
Append Text = Array(CurX,1) & Array(CurX,0)
*this will print TeamName and their score but in ascending order - meaning the lowest score will be at the top! And while this might be good for a golf game, it's not what I need.
I know I can do a For Loop and set it to loop backwards.. and that's how I got it to work.. but I can think of situations where I'd need this array sorted in descending order. Do I have to breakout my bubble or btree sort and convert it into C2?