Microsoft Interview Question

Sorting an array, print n smallest numbers in an array.