Fixed sort issue, ultimately a better method is to compare each character value so that inner sorting can occur (ra comes before rb, for example).