Question d’entretien chez TikTok

Describe an algorithm that does sorting.