count sort for the ascii characters