Glovo Interview Question

An algorithm for sorting a list of numbers