ocewen-Auto_Sort icon

Auto Sort

Adds a Sort button to your inventory that organizes items by type and level with a single click. Automatically consolidates duplicate stacks. Supports ascending/descending toggle, multiple sort modes, and fully configurable button appearance.

By ocewen
Last updated 3 hours ago
Total downloads 2
Total rating 0 
Categories Mods
Dependency string ocewen-Auto_Sort-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2304

README

Auto Sort

Adds a Sort button to your inventory that organizes items with a single click.

Features

  • Sort button inside the inventory panel — fully configurable position, size, colors, and font
  • Ascending / descending toggle — button shows ^ Sort or v Sort to indicate direction
  • Stack consolidation — automatically merges duplicate stacks of the same item before sorting
  • Four sort modes: by slot type + level, by level + name, alphabetical, or by value
  • Cosmetic slots respected — the three cosmetic (green-bordered) slots are excluded from sorting by default

Usage

Open your inventory and click the Sort button.

Configuration

Settings are saved to BepInEx/config/Ocewen.Auto_Sort.cfg and can be changed in real-time with F1 if you have BepInEx ConfigurationManager installed.

General

Setting Default Description
SortMode SlotThenLevel How to sort items
SortCosmeticSlots false Include cosmetic slots in the sort
ConsolidateStacks true Merge duplicate stacks before sorting

Sort modes:

  • SlotThenLevel — group by equipment type, then by item level descending
  • LevelThenName — item level descending, then alphabetical
  • Name — alphabetical
  • Value — by vendor value descending

Button appearance (all configurable in real-time via F1)

Setting Default Description
ButtonX -220 Horizontal offset from the right edge of the bag panel
ButtonY 26 Vertical offset from the top of the bag panel
ButtonWidth 60 Button width in pixels
ButtonHeight 25 Button height in pixels
BorderSize 2.5 Border thickness in pixels
BorderColor #2B5867 Border color (hex)
BgColor #141213 Background color (hex)
FontSize 16 Label font size
FontColor #FFFFFF Label font color (hex)
Padding 0 Inner padding between text and button edge
ButtonLabel Sort Text shown on the button

Installation

Install via r2modman. Requires BepInEx 5.