Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by


Uploaded by


Virus scan

Safe to use

About this mod

Adds a button to the formation order menu that will allow you to sort troops between selected formations, and adds 9 hotkeys for easier and quicker formation selection.

The mod also makes sure that empty formations are shown and selectable so you can use the sorting functions to their fullest ability.

Permissions and credits
General Hotkeys
  • X: Sort Troops Between Formations order menu key; troops in selected formations will be sorted into their single best formation if one of its kind is among the selected formations.

  • Left Ctrl + X: When combined with the Order Key javelineers, rock throwers, etc. get put into the Skirmisher formation instead of Infantry.

  • Left Alt + X: When combined with the Order Key troops will be sorted equally amongst the selected formations instead of being put in only their single best formation.

  • Left Ctrl + Left Alt + X: Same as Left Alt + X, but with the behavior of Left Ctrl + X; it will take into account that Skirmishers would be in their own formation and distribute them equally as such.

Selection Hotkeys
  • Left Ctrl + #: When combined with any of the selection keys below, the formations it encompasses will be inverted from their current state, being added or removed from the current selection.

  • F: This key will select all formations.

  • C: This key will select all melee cavalry formations: Cavalry, Light Cavalry, Heavy Cavalry.
  • V: This key will select all ranged cavalry formations: Horse Archers.

  • H: This key will select all ground melee formations: Infantry, Heavy Infantry.
  • J: This key will select all ground ranged formations: Archers, Skirmishers.

  • Y: This key will select all basic melee formations: Infantry, Cavalry.
  • U: This key will select all basic ranged formations: Archers, Horse Archers.

  • N: This key will select all ground formations: Infantry, Heavy Infantry, Archers, Skirmishers.
  • M: This key will select all cavalry formations: Cavalry, Light Cavalry, Heavy Cavalry, Horse Archers.

NOTE: The hotkeys are all configurable via Mod Configuration Menu! They can also be effectively unbound by setting them to the "Invalid" dropdown menu option.

How The Sorting Order Works
When the hotkey is pressed, the mod will iterate through currently selected formations and sort units between them based on whether the units: are currently mounted on a horse, have ranged weapons with any ammo left, and/or have melee weapons.

Troops will also yell out the formation that they change to, because why not?

Basically, it's behavior similar to that of the Delegate Command AI's shifting of units between formations.

  • The mod is implemented in a very compatibility-friendly way using Harmony.
  • Any patches and additions my mods make always implement error handling to allow the game to keep running properly when exceptions arise.
  • As far as I know, it should be completely safe to add to or remove from existing saves, as it does not add or change any save-related data.
  • I personally use all the mods I create and thus have heavily tested them, so the mod should be very stable.

GitHub: FormationSorter