MathWorks Interview Question

Create an algorithm to sort numbers in an array in matlab