Page 1 of 1

Sorting directories with a virtual given offset

Posted: 2012-07-28, 11:24 UTC
by NordicAlbino
PROPOSAL: Sorting directories with a virtual given offset

Nevertheless, I’m a very enthusiastic fan and user of the more than excellent ‘Total Commander’ for a very long time. But, even with a very good shape of knowledge of how to use all the bells and whistles, including the add-ins , I’m still missing a small, but useful extra possibility: sorting directories by a given virtual offset.

Allow me to clarify what I mean with a small example.
Let us presume that we have a directory with the following filenames which are sorted in the default order:
[face=courier]AAA0123.txt
BBB4567.txt
CCC8901.txt
DDD2345.txt
EEE6789.txt[/face]

These files are thus sorted on their first characters. But here I would like the extra possibility -- by giving a value into a (digital) input field, notably the offset -- to sort these files names on the colon of that (virtual) specified given offset.
P.e.: By adding the offset value of ‘4’, it will give these results:
[face=courier]AAA0123.txt
DDD2345.txt
BBB3567.txt
EEE6789.txt
CCC8901.txt[/face]

I know there are many other detours which give me the same result in the end, but they‘re too complex to repeat these actions over and over again. The fabulous and excellent Rename tool is one of them, but the risk of corruption of critical data is the highest disadvantage, one that is not to be underestimated.

In my humble opinion, I think that this extra possibility is not a very great task to implement because the functionalities are already intrinsic available in TC…
But even then… it’s just a simple proposal! :wink:

Thanks in advance!

Greetings

Posted: 2012-07-28, 11:40 UTC
by petermad
Support++

Re: Sorting directories with a virtual given offset

Posted: 2012-07-28, 12:55 UTC
by nsp
Support ++ if this is more generic.
I prefer to have a kind of sorting expression that could be preserved across view (full view, icon, custom, ...).
I mean by sorting expression something like in SQL or QBE..

Sorting file with 4 letters as offset ascending and month of creation date descending....
[+Name:4-][-Dates.creation.month]

This working with archive file !