Modhold
Skyrim SE
Freev1

Simple Sorting for SKSE Menu Framework

Adds Sort by Recent, A-Z, Z-A, and Refresh buttons to SKSE Menu Framework's top bar so new menus sit at the top of the sidebar. Reorders in real time via memory hooks without restarting Skyrim. Zero ESP, save-safe.

NateMotta4 @NateMotta
Sign in to download One-click install with the free Modhold app. Get the app
Share
X Facebook Reddit

Sign in to get 25 XP when someone opens your link.

14Unique downloads
167Downloads, all sites
16Views
0Vouches
–no scores yetScore
Oh shoot! I forgot which of these 50 mods I downloaded today have a config menu!

~ A very relatable modder (also me lol)
Adds four buttons (Recent, A-Z, Z-A, Refresh) to the top bar of SKSE Menu Framework so you can reorder the left sidebar with one click.

When you install a batch of mods, half of them quietly register an MCM or SKSE Menu framework page and bury it somewhere in your 80-item sidebar. Clicking Recent puts whatever you actually installed this week at the top of the list so you can configure it without scrolling.

Important Note About SkyUI MCMs

Native SKSE Menu Framework mods are detected and sorted automatically.

If you want your classic SkyUI MCM menus to appear and sort here too, you need MCM Bridge installed. This mod only scans and sorts SkyUI MCM menus if you have MCM Bridge bringing them into the framework.

How It Works

Open SKSE Menu Framework (F1 by default) and look at the top menu bar right next to Options:
  • Recent: Sorts the sidebar from newest to oldest. It inspects each mod's files and staging folder to find when you actually installed it.
  • A-Z: Sorts alphabetically from A to Z.
  • Z-A: Sorts in reverse alphabetical order.
  • Refresh: Re-checks active menus, re-scans timestamps, and refreshes the sidebar on the spot.
Your selected sort mode is saved to Data\SKSE\Plugins\simple-skse-menu-sorting-and-filters.json. SMF's native search box, categories, archived menus, and drag-and-drop still work as usual.

Why "Simple" Was a Lie

Calling this mod "Simple" was optimistic. It started as "how hard can it be to put four buttons on a title bar?" It turns out that doing that cleanly inside another plugin's Dear ImGui context requires a frankly ridiculous amount of plumbing:

  1. SMF has no reload export. SKSE Menu Framework saves sidebar order to SKSEMenuFrameworkMenuConfig.json, but its C++ reload function (RootMenuConfig::Load) is private and unexported. Without it, clicking a sort button would do nothing until you quit Skyrim and booted it back up. To make the sidebar reorder instantly, this DLL reads the x64 machine code of SKSEMenuFramework.dll in memory, finds the 5-byte E8 CALL right before AddWindow, and calls SMF's private reload function on the fly.
  2. Dear ImGui's phantom button trick. When appending widgets to SMF's top bar from a separate callback, Dear ImGui remembered the vertical cursor position from the bottom content window. A single innocent call to SameLine() flung the sort buttons 800 pixels down into the window body, trapped behind a 40-pixel menu bar clip rectangle. They were completely invisible and unclickable. Setting igSetCursorPosX(145.0f) manually fixed the layout without triggering the clip bug.
  3. The alphabetical load race. SKSE loads DLLs alphabetically. Early birds like HorsePower.dll and ShowPlayerInInventory.dll register their menus before most plugins even initialize. Prefixing this plugin with 00_ forces SKSE to load our hook first so early plugins get caught cleanly.
  4. The MCM Bridge identity crisis. SkyUI MCM menus running through MCM Bridge all claim their DLL is MCMBridge.dll. If you sort by DLL creation time, a bunch of mods tie on the exact same second in a day. To figure out when you actually installed your MCM mods the plugin tracks down their underlying plugins, inspects NTFS hardlinks (FindFirstFileNameW) back into Vortex and MO2 staging folders, and decodes acronyms like AYOP for At Your Own Pace (real life example).


Known Quirks & Honest Warnings

Skyrim modding has about four thousand naming conventions, and mod authors follow maybe three of them.
  • If a mod author gave their MCM a title like "Overhaul Settings" while the mod folder is named super_cool_mod_v2_FINAL, the timestamp matcher might not find the folder and will fall back to the MCM Bridge date instead.
  • If a newly installed mod does not immediately show up at the top, click the Refresh button on the top bar. It forces a complete re-scan of all active menus and staging folders.
  • If you spot a mod that persistently sorts into the wrong spot, let me know in the posts tab with the menu name and the mod name.
Requirements
  • Skyrim Special Edition or Anniversary Edition (1.5.97, 1.6.640, 1.6.1170+, Address Library independent)
  • SKSE64
  • SKSE Menu Framework v3.22+
  • Optional: MCM Bridge (required only if you want SkyUI MCM menus to show up and sort)
Installation & Compatibility

Install via Vortex or Mod Organizer 2, or extract 00_SimpleMenuSorting.dll and its JSON into Skyrim Special Edition\Data\SKSE\Plugins\.
  • MCM Bridge: Optional. Native SMF menus work without it. Classic SkyUI MCM menus require MCM Bridge so SMF can see them.
  • Save Safe: No ESP, ESM, or ESL files. Touches zero game forms and zero save data. Safe to install or remove at any point.

New to Skyrim mods? Read how to install Skyrim mods, or see the best Skyrim mods players pick.

Credits

NateMotta

Permissions

Posted for NateMotta on their own account at their request (the author asked Modhold to move their whole profile: "Hi!! Yes please! That's awesome!"). The files are the author's own, unchanged.