(can u help me for a sec? thx) how do i sort an array

If the array you want to sort is variable(A) you use:
sorted array(variable(A), current array element)