I worked out a fairly simple routine for sorting a two-dimensional array by multiple columns (first by D, then by A, etc). It leverages Array.Sort to do the heavy lifting, so it's just a matter of moving the data around to the right places. I couldn't find any examples of this, so I thought I'd share it in case anybody else is searching.
It looks something like this:
I hope this is useful! If you have any questions or improvements, just let me know.
Develop games in your browser. Powerful, performant & highly capable.
The example help me very much... Thank you