MathWorks interview question

Create an algorithm to sort numbers in an array in matlab