Okta Interview Question

Implement a constant-time sorting algorithm called sleepsort.