piggybak/piggybak_variants — pull request #7 by timmyc (2013-03-11 17:59:06+00:00)
Title: selected_key array not sorted

While testing I encountered a the variant map saying there wasn't a matching combo for a given variant combination that indeed existed. Adding a sort on the selected_key array to align with the creation of the variant_map json object in the helper fixed the issue.