Lionheart Games Interview Question

Sort an array with a maximum number