UST interview question

sort an array in python