I, for one, can't figure out what you want from the information you have given. I do not know what the data above represents. How does it fit in with the overall design? If what you show above is a partial example of the data, what are you expecting as the answer? random order is not a problem because you will have to have some type of sort anyway to get things grouped.