This script sorts all layers in the active document alphanumerically.
Note: This script also contains a user-customizable variable (near the top of the script) for configuring the sort direction (default is top to bottom).
This script sorts all layers in the active document alphanumerically.
Note: This script also contains a user-customizable variable (near the top of the script) for configuring the sort direction (default is top to bottom).
To download this script, right-click (Ctrl-click on the Mac) on the appropriate version below, and choose "Save Target As".
Sort Layers
Version: 0.7.0 (July 9, 2009)
Download for:
Photoshop CS or
Photoshop CS2+
Note: The only significant difference between the CS and CS2+ versions of this script is the extension. Photoshop CS scripts have a ".js" extension, while scripts for Photoshop CS2 and higher use ".jsx".
Download the script that corresponds to your version of Photoshop, and copy it into your "Adobe Photoshop CS#/Presets/Scripts
" folder.
After restarting Photoshop, the script should appear in the
menu.For more detailed instructions, see the Installing Scripts section of the Scripting Photoshop, Part 1 tutorial.
Do you need a script to automate your repetitive workflow?
Contact us with the details, and we’ll provide you with a free estimate.