Sort list least to greatest (WE NEED THIS!!!) Sort list greatest to least (again, THIS IS NECESSARY!) | How it works V Basically, it randomly generates an amount of numbers of 1 through 9. Next, we set i to 1. if item i (1) is less than item i + 1 (2), than we swap item i with item 2. next, we change i by 1 so next loop we start at item 2 and compare it to 3. and it keeps going the length of the list for least to greatest, its simply if item i is greater than item i+1 instead of less than. only 74 blocks.
This uses an RNG so it is in fact randomly generating numbers and then sorting the numbers.