How to sort the array from smallest to largest in this code?

Printable View