Page 1 of 1
Is it possible to exclude words like "a", "an" and "the" from the name sort?
Posted: 20 May 2025 15:30
by unabatedshagie
My brain automatically ignores words like "The" when thinking where a folder or file would be, so I'd automatically go looking for a folder called "The Beatles" under B and not T.
Is there any way of getting Xyplorer to sort the name column like this?
Re: Is it possible to exclude words like "a", "an" and "the" from the name sort?
Posted: 20 May 2025 17:23
by highend
Apart from using a manual sort order you could use a scripted custom column as an alternative
Code: Select all
if (<cc_isfolder>) { return regexreplace(<cc_name>, "^(a|an|the)\b\s*"); }
else { return <cc_name>; }
Re: Is it possible to exclude words like "a", "an" and "the" from the name sort?
Posted: 20 May 2025 22:09
by jupe
Enable this:
Tools | Customize List | [x] Ignore Articles When Sorting
Re: Is it possible to exclude words like "a", "an" and "the" from the name sort?
Posted: 20 May 2025 22:13
by unabatedshagie
jupe wrote: ↑20 May 2025 22:09
Enable this:
Tools | Customize List | [x] Ignore Articles When Sorting
Awesome, thanks.