This is what I'm talking about with respect to the loading of patterns from packs.  Above it goes through finding the patterns in all locations, then here they are done according to that order.  I think if I just strip the _ off the order_key above that the zeros aren't needed.

I guess you were thinking to use a different way to insert the pack patterns into the core pattern order (using the index parameter), but I though we'd have to add something to tell it what core pattern it goes before/after or something.  I'm open to something better if you have a clear idea about what to do.