0

Can I change the alphanumeric sort methodology used by shotgun?

Hi all,

   The naming convention used at my new work site does't pad numbers with a standard amount of 0's when numbers are used in the name of an item. This causes items which are sorted by name to be listed in an order which is hard to make sense of (example below). Is there a way I can alter the sorting algorithm for our shotgun instance (web hosted shotgun)? Or is a solution a custom trigger which detects when the name of an item is updated and the trigger executes code to update another field with a 0 padded name and we sort by the alternate field.

Example of the default sort order by name using our naming convention.

AMR15_PKG

AMR1_PKG

AMR25_PKG

AMR3_PKG

Preferred ordering:

AMR1_PKG

AMR3_PKG

AMR15_PKG

AMR25_PKG

 

Thanks for any tips, Adam

0 comments

Please sign in to leave a comment.