Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort Mod Options Alphabetically #824

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

notTamion
Copy link

@notTamion notTamion commented Sep 29, 2024

I often find myself looking for the options of a specific mod i added but not remembering the full name of the mod. It would make finding these settings a lot easier if the options were sorted alphabetically as i often do remember the first letter or two. I would also be fine with adding an extra option to toggle between load order and alphabetical sort incase this is too big of a change which might confuse long time users that are used to their current order. (myers seems to add some random diff for some reason even though i didn't change anything in those lines)

@RedFlames
Copy link
Contributor

I guess because of Everest.Boot(), the CoreModule is currently always the first one in the list, but shouldn't you yank out modules.FindIndex(module => module.Metadata.Name == "Everest") rather than index 0 just in case? 😃

Or possibly modules.Remove(CoreModule.Instance) and later modules.Insert(0, CoreModule.Instance) if that would work.

Also yeah I just randomly looked at this. Besides that as an average Everest user, as long as modoptionsorder.txt still works I'm not sure it'd make much of a difference to me if they're a jumble in load order or alphabetical x)

@notTamion
Copy link
Author

thx for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants