diff --git a/src/Gemsmith/GCCSGemsmith.as b/src/Gemsmith/GCCSGemsmith.as index 335ccaf..fe7c09c 100644 --- a/src/Gemsmith/GCCSGemsmith.as +++ b/src/Gemsmith/GCCSGemsmith.as @@ -99,7 +99,7 @@ package Gemsmith { this.currentRecipeIndex = 0; } - newRecipes.sortOn(["baseGem", "value"], [0, Array.NUMERIC]); + newRecipes.sortOn(["type", "baseGem", "value"], [0, 0, Array.NUMERIC]); this.recipes = newRecipes; } diff --git a/src/Gemsmith/GCFWGemsmith.as b/src/Gemsmith/GCFWGemsmith.as index 924eddd..2a95f88 100644 --- a/src/Gemsmith/GCFWGemsmith.as +++ b/src/Gemsmith/GCFWGemsmith.as @@ -99,7 +99,7 @@ package Gemsmith { this.currentRecipeIndex = 0; } - newRecipes.sortOn(["baseGem", "value"], [0, Array.NUMERIC]); + newRecipes.sortOn(["type", "baseGem", "value"], [0, 0, Array.NUMERIC]); this.recipes = newRecipes; }