Help me in counting sort.

Hey friends please help me in understanding Counting sort and also i would be very thanks of you if you can give its implementation in Pascal FPC any suggestions are welcome and thanks in advance.

This video tutorial will surely help to understand count sort