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)).
In reply to Re: to group array items or not to group array items
by GrandFather
in thread to group array items or not to group array items
by hellworld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |