Bounteous x Accolite interview question

Given an alphanumeric string, find the frequency and sort it.