in reply to to group array items or not to group array items
As ssandv said, show us your code (and you data)!
That aside, possibly you ought be using a hash of arrays (HOA) keyed by the prefix string rather than what sounds like an array of arrays (AOA, or more often: LOL (list of list)).
|
|---|