XCOM 2
[WOTC] DSL Redux Sort Options Plugin
86 Comments
Deacon Ivory 30 Jun @ 7:55am 
Thank you for the update Rusty!
lety4ayavoropaeva 3 May @ 3:11am 
>> I highly suggest the required mods to be subbed first!

do you mean this kind of config edit?

[WOTC_DSL_Rusty_Sort CHDLCRunOrder]
+RunAfter=X2WOTCCommunityHighlander
+RunAfter=WOTC_DSL_Rusty
RustyDios  [author] 31 Oct, 2024 @ 3:50pm 
no
Warrior250 31 Oct, 2024 @ 3:43pm 
Any way to set it to HQ Order automatically?
ThiagoCururu 10 Jun, 2024 @ 6:30pm 
How can I modify the settings to make it sort by: Status then sub sort by Rank, and finally separate those by Class? Playing with over 60 soldiers gets too messy sometimes.

I tried some changes but best I could do was break soldier selection to squad, including making all text disappear.

@RustyDios I'm a big fan of your mods, thank you!
Aquiles 7 Nov, 2023 @ 6:30am 
I see. Sounds fair. Thank you very much for the kind answer.
RustyDios  [author] 7 Nov, 2023 @ 6:21am 
@Aquiles
This mod does nothing special for sorting by Officer Rank.

And I don't intend to change that, as getting the officer status out of LWotC would add some significant lag to the sorting process - even with the new method Tedster put in for getting LWotC unit-details.

Plus if I add support for LWotC officer ranks, it would only be fair to then also add support for all the other officer systems, and suddenly a simple addition has me completely restructuring the sorting code to account for the extra variable.

Sorry :( Just not something I'm interested in doing at this time.
p6kocka 7 Nov, 2023 @ 3:31am 
Thanks for the latest update.
Aquiles 6 Nov, 2023 @ 10:16pm 
Hello, @RusyDios. I have a question. In vanilla, officers (I play LWotC by the way) are not sorted by their officer rank, but as soldiers, that means that officers are never on the top of the list if they don't have also the highest soldier rank. Your mod changes that?
RustyDios  [author] 6 Nov, 2023 @ 6:42pm 
@MrMister ... and everyone else that wanted it :) New "OnMission" status sorting is in, defaults to top of the list.

@p6kocka
Exposed the opening Living quarters tab to config, but also set the default back to the Soldiers list :)
MrMister 5 Nov, 2023 @ 11:45pm 
But that's the thing, your mod is already recognizing OnMission soldiers differently ffom Available somehow; the only issue is that it puts them right after Available soldiers, whereas it'd be better if it put them before them, at the top of the list, so you can at a glance see which bondmates you're missing.
DaViper 5 Nov, 2023 @ 6:00pm 
Count me in the bunch that wants 'on mission' at least closer to active soldiers. That would be the icing on the cake for this mod. It isn't an issue at the beginning, but once you start moving over 40 soldiers in mid/late game...yeah. :steamhappy:
RustyDios  [author] 5 Nov, 2023 @ 6:40am 
Yeah thats the thing.. they don't have a behind-the-scenes status.. they're still "ready" (eState_Active) .. but I think I can use a similar method as the current filter to get if they are part of the squad ..

Bondmates need some more time to figure out as that needs a "double unit check", which can get messy imo.
MrMister 5 Nov, 2023 @ 5:48am 
I think the "On mission" one should be easier to do though - as it is right now, when sorting by status (as is default), all the On Mission soldiers will be listed right after Available (*probably* after Tired actually, if they are grouped in the "Other" status you define in the ini), so it should be as simple as finding out their actual behind-the-scenes status' name and setting that one as the first one, right?
RustyDios  [author] 5 Nov, 2023 @ 3:08am 
I'll look into adding/sorting by the OnMission status .. I wanted to add sorting by bondmate too, but BOTH of these are really difficult things to do though, due to the nature of how the game sorts those things normally.
MrMister 5 Nov, 2023 @ 2:37am 
Please add the "On Mission" (not actual config name, probably) status to the top of the UIPersonnel_DSL_SortStatusOrder array by default; that'll make it so soldiers you've already selected for the squad will be at the top, letting you more easily see the bond color you're looking for (using color-coded bonds, of course) to fetch their bondmate.

Right now witht he defautl by-status sorting, On Mission soldiers are sorted to the very bottom of the list, so you have to either scroll down or back out of the list to check the bondmate colors of your currently-selected soldiers, and if you just reverse the ordering, then you get all the wounded and infiltrating soldiers inbetween on mission and available.
DaViper 1 Nov, 2023 @ 6:32pm 
This has made life so much better when trying to figure who is what and where and when...heh.
So appreciated! (No breaks...get back to it! :steamhappy:
p6kocka 27 Oct, 2023 @ 12:55pm 
Take a break. You deserve it. Thanks again for all your hard work.
RustyDios  [author] 27 Oct, 2023 @ 12:05pm 
@Aquiles
Sorting by stats is something I want to add, but will take a bit longer to setup - as the internal mod structure (of both DSL mods) needs restructuring to support it

@p6kocka
I had forgotten that bonus button from the Barracks Status mod. Currently not possible to alter the opening tab at this time. As both the Geo-Barracks button and the Living quarters 'personnel' list are the same functtion, and it opens into the leftmost tab. I'll see about making the ALL list the rightmost tab instead - but I need a break before I go restructuring things :)
p6kocka 27 Oct, 2023 @ 11:06am 
Is it possible to show SOLDIERS as the default list when clicking the Barracks Status Display on the Geoscape? Not ALL UNITS?
Aquiles 27 Oct, 2023 @ 10:43am 
Hello, @RustyDios. Thanks a lot for this mod (and the rest, of course). Would be possible to sort by number of kills or number of missions, please?
Hudson Savage 27 Oct, 2023 @ 5:55am 
New sorting options and especially the search are very sexy. Thanks RustyDios!
Marcus Aquila 27 Oct, 2023 @ 1:35am 
Thank you so much for adding the country button!
dmc32 26 Oct, 2023 @ 9:49pm 
Very cool, great update.
RustyDios  [author] 24 May, 2023 @ 2:29pm 
So the the "inverted" sorting is literally what you think it is.. the current list and and a singular boolean, to sort-up/down
It can't really be abused to give more sorting types.

But I am trying top insert a button that will arrange by country for you ...
[DBH].Whismerhill.{SSgt} 17 May, 2023 @ 5:46am 
so I was thinking (sorry again for bothering you)
I had this idea following my previous questions :
I have personally very little need for "inverted sorting"
for example inverted sorting by rank I mean .... I can just go to the bottom of the list instead?

so I was thinking, maybe I could "hack" the inverted rank to instead to sort by soldier nationality ?
do you think it would be doable ? even though it's counter intuitive from a UI perspective.

sidenotes: I'm considering doing it myself, though I have no idea if that's even remotely possible, or if I would even have the abilities to do so
I am more familiar with LUA ....

Thanks again.
[DBH].Whismerhill.{SSgt} 7 May, 2023 @ 1:39am 
ho that's alright.
and you have all my thanks for replying even. :steamthumbsup:
RustyDios  [author] 6 May, 2023 @ 9:36am 
Unfortunately we are limited to the four main buttons at the top (rank, name, class, status) .. I can add minor adjustments in there, like rank, then name (for alphabetical sorting).. but can't go much outside those boundaries ((without adding some extra buttons -- I'll consider this, but it is not an 'easy' thing to do))

~ sorry for not being the answer you wanted to hear
[DBH].Whismerhill.{SSgt} 6 May, 2023 @ 9:29am 
hello,
I wonder would it be possible to sort by soldier nationality ?

This isn't like some "racial thing" lol
it's just I use soldier nationality to make squads & squad management easier

so if I could sort by nationality this would be incredibly useful

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2972241949
RustyDios  [author] 15 Apr, 2023 @ 12:43am 
Yes, but you would loose functionality of this mod on the affected screens.
Simply place a ; at the start of the conflicting ModClassOverride line in the xcomengine.ini
Akilae 15 Apr, 2023 @ 12:05am 
hello is there a way for this to not conflict with squad management?
Sir Jia Xing 9 Apr, 2023 @ 5:22am 
i see, thanks again!

i just wished that i didn't have to look for the ones with the lowest exp among my 15+ sergeants.
RustyDios  [author] 9 Apr, 2023 @ 1:39am 
Well, yes it's the default sorting column :)

Basically what this mod does is auto-click one of the sort-headers for you
(as well as improving/updating the Sort functions to use CHL methods)
Sir Jia Xing 9 Apr, 2023 @ 12:52am 
Thanks for the fast reply, i could always do that without any mods though lol
RustyDios  [author] 9 Apr, 2023 @ 12:50am 
By Exp? no .. but you could sort by Rank?
Sir Jia Xing 9 Apr, 2023 @ 12:45am 
So there's no way to sort by exp?
Phoenix 4 Apr, 2023 @ 9:05am 
Oh ok. Thanks for taking the time to explain it to me! :)
RustyDios  [author] 4 Apr, 2023 @ 8:51am 
Well, it improves how the some of the sort filters work, like the functions/compares they use to decide if "itemA" should be above or below "itemB" ...

On some pages it simulates you clicking a SortBy option so you don't need to do it yourself.
In the armoury, not much is done (uses the game default SortBy Rank).
In squad select though it will auto-click the SortBy Status button for you.
Phoenix 4 Apr, 2023 @ 8:41am 
I'm stupid, sorry. Thanks for letting me know. I am confused at what this mod does to [WOTC] Detailed Soldier Lists Redux though.
RustyDios  [author] 4 Apr, 2023 @ 8:22am 
? Those class look to be sorted correctly by Displayed Alphabetical Name ?
Phoenix 4 Apr, 2023 @ 2:17am 
I'm a little confused at what this mod changes. When I subscribed to the mod it doesn't seem to change anything. In the description you said: Sort By Class - sorts by CHL Class Display Name instead of the Template name. I was hoping it would change how the class filter works since it doesn't seem to group class together correctly. Example: https://imgur.com/a/hbXGqsa
https://imgur.com/a/AwWNnrr
I tried commenting out +ModClassOverrides=(BaseGameClass="UIPersonnel_Armory", ModClass="WOTC_DSL_Rusty_Sort.UIPersonnel_DSL_Armory") but it didn't seem to do anything either.
CrazyBlot 13 Mar, 2023 @ 10:38pm 
Will try this Covert mod after. Thank you!
RustyDios  [author] 13 Mar, 2023 @ 6:56pm 
There are no options for that screen setup, iirc it will default to the base game (which is by rank) ..
Honestly forgot about that screen (and a fair few other drop downs), but mainly here because I play using Covert Infiltration, which makes covertOps use the Squad Select screen.

I have no plans to add any more screens at this time.
CrazyBlot 13 Mar, 2023 @ 9:17am 
Hello, again! One more question. Have we option to set default for personal select in CovertOps Ring? It's look exactly as another personal selection but have no default in config.
CrazyBlot 12 Mar, 2023 @ 10:44pm 
Thanks for quick replay! All done, and works as intended! Its game changer for me! :)
RustyDios  [author] 12 Mar, 2023 @ 2:52pm 
So in this mods XComGame.ini config, remove the ; from the lines with = nameButton at the end .. and comment out the other lines (place a ; at the start of the other lines.

This will default to sorting by name.
CrazyBlot 12 Mar, 2023 @ 12:47pm 
Can you suggest how i can change default order in soldier list? I want it be a NAME field rather then Rank, I am using prefixed in Last Name that show which squad and which PAIR soldier belongs.
RustyDios  [author] 26 Nov, 2022 @ 7:38pm 
It does, and it is an amazing mod .. I added a link into the main mods description :)
Moisesjns 26 Nov, 2022 @ 7:33pm 
Thank you so much! did not see it in the Description of mod, and was looking all over for it. Thanks again for this awesome mod, makes the game so much better.
RustyDios  [author] 26 Nov, 2022 @ 1:18pm 
That is another mod yes.. that is Extended Perssonel Info