photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Darius1968 on January 29, 2019, 06:52:13 AM

Title: Tabular Layout Sorting
Post by: Darius1968 on January 29, 2019, 06:52:13 AM
I've set up a tabular layout with column 2 set to a variable:  {File.Created}.  Outcome:  Fine and dandy with respect to what displays!  Problem:  I want to sort by this column, but can't seem to find a way to do it because it so appears that the sort profiles don't allow for sorting based on variables.  Any way to achieve what I want in this case? 
Title: Re: Tabular Layout Sorting
Post by: Mario on January 29, 2019, 08:48:06 AM
Sort Profiles cannot sort by variables, this would be very slow and only a few users will ever need this.
The {File.Created} variable is a expensive (aka slow) variable because IMatch has to retrieve it from the file every time the variable is requested. This file system timestamp is of little use and not cached in the database.
If you really need to sort by this file system timestamp, maybe use a metadata template to import it into a metadata tag, and then sort by this tag.