[Implement] counting sort.

And it passes the tests.