Question d’entretien chez Qlik

How would I design a sorting algorithm.