Question is, if this code sort array from min to max or from max to min, because I cannot figure it out.<