### **Author: [aedenthorn on Nexus Mods](https://next.nexusmods.com/profile/aedenthorn?gameId=3667)**

### **Source: [Simple Sort on Nexus Mods](https://www.nexusmods.com/valheim/mods/584)**

### **Copied from the NexusMods page:**

##

This mod offers a simple way to sort the player and container inventory, by hovering over the inventory and pressing a customizable key combination of a modifier key and a sort type key.

It also now allows the sort type to stick for either inventory type and get applied each time you open the inventory.

[![Valheim Simple Sort Mod - Watch on YouTube](https://img.youtube.com/vi/1g6xeVyJqGY/hqdefault.jpg)](https://www.youtube.com/watch?v=1g6xeVyJqGY)

Sort types are:

- **by name** (default key: **N**)  
- **by weight** (default key: **H**)  
- **by value** (default key: **V**)  


## **Notes**

### **Sort Types**

Sort by weight and sort by value will sort by name for equal weights and values (most stuff doesn't seem to have a value yet).


Sort Methods

Whether it sorts ascending or descending depends on which modifier key you use. Default for ascending is Left Alt, and descending is Left Ctrl.

So, to sort a container by name ascending for example, hover over the container inventory grid and hold down Left Alt and press N.

If you leave one of the modifier key values empty in the config, it will be the sort method without any modifier key. E.g.:

### **AscModKey =**

Will allow you to sort ascending without pressing a modifier key.


### **Sticky Sort**

By default the mod now remembers your last sort type and method for player and container inventories and applies it when you open the inventory. You can turn this off for either in the config file.


### **Misc**

You can also skip a certain number of rows in the player inventory, both at the beginning of the grid and the end. By default, the mod starts at the second row and goes to the end of the inventory.

You can also disable player inventory sorting entirely in the config.

There is a config option to enable using game pads, but I don't own one and haven't tested it. Let me know if it works! You'll have to change the keys to joystick buttons. Info on button names is here: https://docs.unity3d.com/Manual/ConventionalGameInput.html




## **Config**

A config file **BepInEx/config/aedenthorn.SimpleSort.cfg** is created after running the game once with this mod).

You can adjust the config values by editing this file using a text editor or in-game using the Config Manager﻿.

To reload the config from the config file, type **simplesort reset** into the game's console (F5).


## **Technical**

To install this mod, the easiest way is to just use the [Gale Mod Manager](https://thunderstore.io/c/valheim/p/Kesomannen/GaleModManager/). It should take care of all dependencies.

To install manually, place the dll file in the BepInEx/plugins folder. You will need BepInEx.

Code is at https://github.com/aedenthorn/ValheimMods.

﻿﻿If you want to complain or ask for help or help me test my mods, you can visit my Discord server﻿.

Click here for a list of all my mods for Valheim.

##

### **This page will be removed if the author wishes so. My discord is [notsmiles](https://discord.com/users/432163483656781825)**