Custom Sort Order Reversed

Started by Darius1968, September 29, 2017, 06:08:32 PM

Previous topic - Next topic

Darius1968

I have a set of 30 images, for which I defined a custom sort order, and now, somehow, the order is reversed.  The button for reversing the sort order has no effect here.  Is there any quick way to get the order reversed again, without having to manually place each image a 2nd time? 

Mario

#1
QuoteI have a set of 30 images, for which I defined a custom sort order, and now, somehow, the order is reversed.

IMatch stores custom sort orders as a fixed array of file ids in the database.
There is no command which could reverse a custom sort order and I have no idea how I could reverse a custom sort order manually or otherwise. Except from moving each file to the correct place or using one of the "Reset custom sort order" commands (File Window context menu > Additional commands > ...)
The ASC/DESC button has no effect on custom sort orders.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

sinus

Quote from: Darius1968 on September 29, 2017, 06:08:32 PM
I have a set of 30 images, for which I defined a custom sort order, and now, somehow, the order is reversed.  The button for reversing the sort order has no effect here.  Is there any quick way to get the order reversed again, without having to manually place each image a 2nd time?

Take an empty, not used metadata-field (or attribute) and give it a number for each file
1
2
3
...

Go in the sort profile, and create a new profile, based on that field.
There set the option "Reverse".
Coose then this new profile ... done.

Should be quicker as rearrange all new.
If you would use this often, you must only find a way to fill this used field with such numbers (1,2,3..) automatically. With a script is one way.

I tried this not, but I am pretty sure, this should work.


Best wishes from Switzerland! :-)
Markus