Persistent Systems Interview Question

Counting sort using only one loop. No inner loop.