Copy link to clipboard
Copied
I can't seem to get my files sorted by filename. For example, I have 100 photos named MAY_1000.NEF through MAY_1100.NEF. For a select few, I run the files through Topaz Denoise, which renames that group MAY_1035-Edit.JPG, etc. When I try to sort the files by name, Lightroom puts the "edit" group at the end of the original files, instead of adjacent to them. Shouldn't LR sort them like: MAY_1034.NEF, MAY_1035.NEF, MAY_1035-Edit.JPG, MAY_1036.NEF....?
In other words, I'd like to sort by the first 8 characters rather than the randomized sort the LR currently does.
Thanks,
Jeff Hall - North Carolina
Based on the shades of the grey backgrounds surrounding the thumbnails, it appears you've put a large number of the photos in that folder into a stack, and the stack is expanded. For comparison, this screenshot shows the first three thumbnails not in a stack, the next 10 in a stack (expanded), and the next 7 not in a stack:
To verify, do the menu command Photo > Stacking > Collapse All Stacks, and now you'll see just the tops of one or more stacks.
In Grid view, a stack appears in the sort ord
...Copy link to clipboard
Copied
Hi @desono5000000, Lightroom sorts filenames alphanumerically, character by character. Symbols like hyphens (-) come after letters and numbers in ASCII order, so MAY_1035-Edit.JPG will sort after MAY_1100.NEF, not next to MAY_1035.NEF. The hyphen causes Lightroom to place them later in the list. ^CH
Copy link to clipboard
Copied
I’ve tried removing the hyphens from a filename, but when I sort by filename, the target file does not move. It’s almost like LR sorts by file extension, then by filename. I had to go through 180 files, 10 at a time to be able to compare different versions of my latest batch of files. I also tried renaming the errant file as simply MAY_1035a.jpg, but it doesn’t move to where the other versions of that file are found. In the example below, I am in filename sorting, but the two versions of each file are nowhere near each other… Very frustrating.
Copy link to clipboard
Copied
P.S. here's how Windows Explorer parses similar filenames, yet keeps them all together with the original.
Copy link to clipboard
Copied
Perhpas you want to sort by Capture Time instead of filename.Your screen capture of Lightroom Classic isn't particularly useful since we can't see the file names.
In addition, your screen capture of Windows Explorer does not indicate if these are sorted by name or by the creation date of the file.
Copy link to clipboard
Copied
Not sure this is correct, as after removing "stacks", my files sort by similar filenames regardless of hyphens or not.
Copy link to clipboard
Copied
[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]
@desono5000000: "Shouldn't LR sort them like: MAY_1034.NEF, MAY_1035.NEF, MAY_1035-Edit.JPG, MAY_1036.NEF....?"
Windows LR normally sorts the file names in that order:
This is the same order as in Windows File Explorer:
(Note that Mac LR and Mac Finder put MAY_1035-Edit.JPG before MAY_1035.NEF.)
If you're seeing something different, then:
1. Do View > Options > Grid View and change Compact Cell Extras to show File Name on top of the thumbnail. Then change Show Grid Extras to Compact Cells:
2. Post a full-resolution screenshot of the entire LR window in Grid view, including the left column showing the currently selected Collection or Folder.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Please use the Insert Photos icon to include your screen captures in your reply, as you did earlier. You have included your screen captures as file attachments, and I cannot open or view anyone's file attachments.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
To make things more visible I filtered down to just files beginning with s9z_176. The file order makes no sense at all given that it should be sorted by file name.
Copy link to clipboard
Copied
Based on the shades of the grey backgrounds surrounding the thumbnails, it appears you've put a large number of the photos in that folder into a stack, and the stack is expanded. For comparison, this screenshot shows the first three thumbnails not in a stack, the next 10 in a stack (expanded), and the next 7 not in a stack:
To verify, do the menu command Photo > Stacking > Collapse All Stacks, and now you'll see just the tops of one or more stacks.
In Grid view, a stack appears in the sort order according to the top photo in the stack. All the other photos in an explanded stack appear in the order in which they were placed in the stack, regardless of Grid view's current sort order.
Use the menu commands in Photo > Stacking to decide which of the photos (or all of them) you want to remove from the stacks.
Copy link to clipboard
Copied
BEAUTIFUL! That worked! Thank you! Now all I need to know is how these all got stacked? Does stacking occur when selected photos get ratings or color tags? Best, Jeff
Copy link to clipboard
Copied
"how these all got stacked? Does stacking occur when selected photos get ratings or color tags?"
Applying tags or ratings won't stack photos. Perhaps you accidentally typed the keyboard shortcut for Photo > Stacking > Group Into Stack (Ctrl G) when the photos were selected.
Copy link to clipboard
Copied
Very possible I hit Ctrl G instead of just G at some time. Now I have fixed it per your suggestion, and changed all the other relevant options to keep it fixed. Really appreciate your help John!
Copy link to clipboard
Copied
I have import set to import into one folder. For specific events/places I import into a folder with a name like "Huntington Beach", but for general shots I import into folders with month/year name that I make. The issue I was having was due to files being somehow automatically stacked. Once I unstacked them, the mis-ordering went away.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now