Having sorted the tag_counts hash via the following code:
sorted_tags = Contact.tag_counts.sort{ |x,y| x.name.downcase <=> y.name.downcase }
what is the easiest/most efficient way to display the tags in my view grouped by letters?
i.e
A - "Alpha", "Apple", "Aza"
B - "Beta", "Bonkers"
.
.
.
Z - "Zeta", "Zimmer"
Any ideas?