Domanda di colloquio di Binance

Write a sort algorithm, any one is ok