PlayStation interview question

Counter the characters in a string and put it in ABC order