#1 (permalink)  
Old 02-12-2010, 02:07 PM
cleamon's Avatar
ɯɐǝʇ uoıʇɐɹǝpoɯ ǝɥʇ sǝʌoן
 
Join Date: Jan 2010
Location: Kingsport, Tn.
Posts: 334
Default Annoying Lightroom "Feature"

I'm starting to like Lightroom (Mac) a lot for management my photo collection. However, it has an annoying problem which is the sort order (in the film strip). Seems like a simple thing to me, but given the following filenames (for example):
DSCN0001.JPG
DSCN0001-1.JPG
DSCN0001-1-F1.JPG
DSCN0098.JPG
DSCN0099.JPG


it will order them like so:
DSCN0001-1-F1.JPG
DSCN0001-1.JPG
DSCN0001.JPG
DSCN0098.JPG
DSCN0099.JPG


That's just wrong! Is it me? Not a big deal on this small list, but on larger lists it's really annoying.
__________________
Chuck
Canon 50D / 17-85 f4-5.6 / 24-105 f/4L (many more on the wish list),
Nikon Coolpix L3 (always in my pocket),
many other film cameras of various sizes
flickr!
Reply With Quote
  #2 (permalink)  
Old 02-12-2010, 03:50 PM
wulf's Avatar
Ninja Moderator
 
Join Date: Dec 2006
Location: Oxford, UK
Posts: 9,829
Default

Where do the filenames come from? Poor little Lightroom is simply following the ASCII standard that places a hyphen (hex value 2D) before a full stop (hex value 2E). You'd also find a similar problem if you tried to sort a list of file names that included photo9, photo10 and photo11. Those would come out in the order 10, 11, 9; to get round that, you'd need to rename photo9 to photo09.

Ideally you want to use file names that sort as you expect; if they are autogenerated, you may need to do some renaming.

Wulf
__________________
Wulf Forrester-Barker << Sites: blog / flickr >>
Gear: Nikon D40, Nikon AFS 18-55mm f/3.5 - 5.6G, Nikon Series E 50mm f/1.8, Nikon AF 70-300mm f/4-5.6G, Vivitar 90mm f/2.5 macro, Raynox DCR-250, Lensbaby 2.0k, SB600
Reply With Quote
  #3 (permalink)  
Old 02-12-2010, 05:04 PM
wulf's Avatar
Ninja Moderator
 
Join Date: Dec 2006
Location: Oxford, UK
Posts: 9,829
Default

Linux puts dashes before dots. That's what I'd expect - it fits the ASCII standard (and Mac OS X is based on BSD, another Unix-type system). I suspect that Windows is being "user friendly" by adding another twist that meets many expectations but doesn't follow the simple logical model.

If you're using a Mac and naming the files yourself, then I'd suggest a different naming convention. I use subject.date.sequence.filetype for individual files and then break that into folders for convenience. For example tree.20100212.jpg or flower.20100131.03.jpg.

If I have cause to save different versions, I'd probably add a modifier into the subject part of the name, such as flower_orton.20100131.03.jpg. That embeds a lot of data into the name and gives a sensible sort order. I can use more advanced searches to pick out all pictures within a particular date range (I embed that in the file name because I've found that the date sometimes gets mangled as I copy files from disk to disk).

Wulf
__________________
Wulf Forrester-Barker << Sites: blog / flickr >>
Gear: Nikon D40, Nikon AFS 18-55mm f/3.5 - 5.6G, Nikon Series E 50mm f/1.8, Nikon AF 70-300mm f/4-5.6G, Vivitar 90mm f/2.5 macro, Raynox DCR-250, Lensbaby 2.0k, SB600
Reply With Quote
  #4 (permalink)  
Old 02-12-2010, 05:32 PM
cleamon's Avatar
ɯɐǝʇ uoıʇɐɹǝpoɯ ǝɥʇ sǝʌoן
 
Join Date: Jan 2010
Location: Kingsport, Tn.
Posts: 334
Default

Yeah, I've come to the conclusion that it's a Microsoftism that I see elsewhere. Databases such as mysql also order as you say. I could see MS having their file explorer or cmd prompt "user friendly", but it's strange that a spreadsheet, which should be OS/filename agnostic; it's just plain text, would sort in this "user friendly" manner. I created a small spreadsheet using these same names, I sorted the column and it came out in "user friendly" order. I then removed the dots from the names and re-sorted; this time it came out correctly. Weird huh?

It's not a big deal to me, but just caught me off guard. A file wasn't where I (until now) expected it to be in list, and I thought it was missing! Panic! Now I know that MS systems do it one way and (apparently) everyone else, another, I'll be prepared.

Thanks for the help.
__________________
Chuck
Canon 50D / 17-85 f4-5.6 / 24-105 f/4L (many more on the wish list),
Nikon Coolpix L3 (always in my pocket),
many other film cameras of various sizes
flickr!
Reply With Quote
  #5 (permalink)  
Old 02-12-2010, 11:31 PM
jli's Avatar
jli jli is offline
dPS Forum Member
 
Join Date: Jan 2010
Posts: 55
Default

Quote:
Originally Posted by wulf View Post
Linux puts dashes before dots. That's what I'd expect - it fits the ASCII standard (and Mac OS X is based on BSD, another Unix-type system). I suspect that Windows is being "user friendly" by adding another twist that meets many expectations but doesn't follow the simple logical model.

If you're using a Mac and naming the files yourself, then I'd suggest a different naming convention. I use subject.date.sequence.filetype for individual files and then break that into folders for convenience. For example tree.20100212.jpg or flower.20100131.03.jpg.

If I have cause to save different versions, I'd probably add a modifier into the subject part of the name, such as flower_orton.20100131.03.jpg. That embeds a lot of data into the name and gives a sensible sort order. I can use more advanced searches to pick out all pictures within a particular date range (I embed that in the file name because I've found that the date sometimes gets mangled as I copy files from disk to disk).

Wulf
While I'm a Linux user, I don't necessarily agree just going with ASCII is a logical model. It's certainly simpler, but I don't think "normal" people think zero-padding numbers in file names (using "01" for 1 so it comes before 10, etc.) is logical.

I believe Mac OS's Finder takes care of zero-padding in a human-friendly way, right? At least, I'd strongly expect it too. Anyway .
__________________
John Li
J. L(eye) on flickr
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

What’s Your Preference?

Daily Digest

Each day we send out a quick email to thousands of DPS readers to notify them of updates. This email is just short excerpt of the first few lines of our latest post with a link if you want to read it all. You can unsubscribe from this this service at any time.

This service is provided by a third party (Feedburner) and you can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Summary

For those wanting a weekly summary of what happens on this site this free email newsletter is probably your best option. It includes a summary of the tips posted to the site each week. This newsletter is subscribed to by over 25000 readers (many who also subscribe to the other options above) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter:

 
SEO by vBSEO 3.3.0