Why don't you just sort the data, you can see the items easily then, and they will be grouped.