Sorting an array of numbers with for-loop

welcome to shbcf.ru