Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the sample below we want to sort by last modified file, so we do:

Code Block
sortBy=file:modifedmodified

And then we want to group by name as a 2nd option so files with same modifcation is sorted by name:

Code Block
sortBy=file:modifedmodified;file:name

Now there is an issue here, can you spot it? Well the modified timestamp of the file is too fine as it will be in milliseconds, but what if we want to sort by date only and then subgroup by name?
Well as we have the true power of File Language we can use the its date command that supports patterns. So this can be solved as:

...