TikTok Interview Question

Describe an algorithm that does sorting.