MathWorks Interview Question

Sort a list, Determine how many copies of an instance, etc...