Question d’entretien chez RxLogix Corporation

How to sort an array? 2 or more ways to write code?