Antagelse: Listen består av tall som har siffer.

Sorts different numbers in the correct order. See picture below Requires a Stable matching algorithms

Runtime

Since we use Counting Sort:

Which means if d and k are constants we achieve linear time!