Tabit interview question

sort an array of ints