Group a list of elements into alpha numeric groups.