sort ticket types by count