I have a 2-Dimensional array Final[20][7] and i need to sort it according to the left most integers. Now the tricky part is that I can't use any returns or and real functions. It pretty much has to be bruce force with what I assume will be loops.

This is tetious and energy consuming but its the only way I can do it without functions. Anyone have any simple code that I could work around to get this working?