I have found many examples of how to find repeat characters in a string. I believe my requirement is unique.
I have string
$string=aabbbccffffd;
use count-chars()
http://php.net/manual/en/function.count-chars.php
and then asort()
http://php.net/manual/en/function.asort.php