Sort an array with unique elements -- Microsoft