[Hide Content]diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index eaf704f..e7223a9 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -818,8 +818,29 @@ menu_letter InvMenu::load_items(const vector<const item_def*> &mitems,
vector<InvEntry*> items_in_class;
const menu_sort_condition *cond = find_menu_sort_condition();
- for (int i = 0; i < NUM_OBJECT_CLASSES; ++i)
+ // reorder the menus
+ FixedVector< int, NUM_OBJECT_CLASSES > inv_order(
+ OBJ_WEAPONS,
+ OBJ_MISSILES,
+ OBJ_ARMOUR,
+ OBJ_STAVES,
+ OBJ_RODS,
+ OBJ_WANDS,
+ OBJ_SCROLLS,
+ OBJ_JEWELLERY,
+ OBJ_POTIONS,
+ OBJ_BOOKS,
+ OBJ_ORBS,
+ OBJ_MISCELLANY,
+ OBJ_FOOD,
+ OBJ_CORPSES,
+ OBJ_GOLD
+ );
+
+ for (int obj = 0; obj < NUM_OBJECT_CLASSES; ++obj)
{
+ int i = inv_order[obj];
+
if (!inv_class[i])
continue;