Created attachment 4723 1265256043721.png A simple case I could find where this fails: Place both attached images in a new folder Open 1265256043721.png in Ristretto Switch to filename sorting What should happen: 1265256043721.png should be the first image because it comes before 1329396810786.jpg alphabetically What actually happens: 1265256043721.png is the second image even though it should come first alphabetically
Created attachment 4724 1329396810786.jpg
Created attachment 4807 Fixed an overflow when comparing filenames with large numbers in them Proposed patch should fix an overflow when comparing filenames with large numbers in them.
I tested this patch on a bigger folder of files with large numbers in them and it worked for me.
Thanks Eric, I've applied the patch to ristretto 0.3.x, 0.6.x and master.