Pregunta de entrevista de Huawei Technologies

Implement a sorting algorithm for a not in order integer array.