Persistent Systems interview question

Counting sort using only one loop. No inner loop.