diff --git a/client/lib/src/ui/shop/setup_shop.rs b/client/lib/src/ui/shop/setup_shop.rs index 420c963b..dbcbd510 100644 --- a/client/lib/src/ui/shop/setup_shop.rs +++ b/client/lib/src/ui/shop/setup_shop.rs @@ -458,7 +458,7 @@ fn fill_item_grid( ) -> Vec { let mut pairs = character.items.iter().collect::>(); - pairs.sort_by_key(|(id, _)| recursive_cost(character, **id)); + pairs.sort_by_key(|(id, _)| (recursive_cost(character, **id), **id)); pairs .into_iter()