You are not logged in.

#1 2023-08-23 20:22:06

scatherinch
Member
Registered: 2023-02-24
Posts: 168

[SOLVED] Dolphin - Images sort out of order

Hello, I have a problem. Whenever I save an image, it gets sorted out of order in Dolphin for some reason. It's not doing this behavior on my other two machines so that tells me that something must be different on my main machine. Needless to say, it's driving me crazy because if there is one thing I cannot stand, it's an image that isn't listed in the correct numerical pattern.

So I end up making images in this order: 1, 2, 3, 4, 5, 6, 7, 8, 9 10

But they get listed like this instead: 1, 10, 2, 3, 4, 5, 6, etc

Is that not enraging??

How can I fix this and why is my PC different here than the other one's?

Last edited by scatherinch (2023-08-23 20:59:44)

Offline

#2 2023-08-23 20:27:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: [SOLVED] Dolphin - Images sort out of order

Start by quantifying the problem - what are examples of expected and perceived order?
Are only images affected or all files (w/ such filename patterns)
Does "ls" order files wrong?

localectl
locale

Offline

#3 2023-08-23 20:38:23

scatherinch
Member
Registered: 2023-02-24
Posts: 168

Re: [SOLVED] Dolphin - Images sort out of order

Okay, it isn't just images. It's everything.

Expected: Files should be listed in a way that it makes human sense (Ex: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and so on)

I'm seeing files get listed as 1, 10, 3, 4, 5, 6, 7, 8, 9 in dolphin

ls lists files like: 10, 1, 2, 3, 4, 5, 6, 7, 8, 9

localectl System Locale: (unset)
    VC Keymap: (unset)
   X11 Layout: (unset)
locale

LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Last edited by scatherinch (2023-08-23 20:39:03)

Offline

#4 2023-08-23 20:38:46

tdtooke
Member
Registered: 2023-04-11
Posts: 245

Re: [SOLVED] Dolphin - Images sort out of order

I could be wrong, but I believe this is like a database sorting problem I have had.  Things that are type text would be sorted in that order because it is the correct order for text.  You want the filenames absent the file extension to be sorted as if they were numerical.  I'm not entirely sure if that's possible but if it is somebody here surely knows how.

Edit: It's a pain but you might try 01 instead of just 1.  That would do it.

Last edited by tdtooke (2023-08-23 20:40:32)

Offline

#5 2023-08-23 20:42:15

scatherinch
Member
Registered: 2023-02-24
Posts: 168

Re: [SOLVED] Dolphin - Images sort out of order

@tdtooke My problem is that its not like this on my other computers though and I'm trying to figure out what's different. Yes, it works to list them like that, but why isn't it like this in the other machines...?

Offline

#6 2023-08-23 20:47:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: [SOLVED] Dolphin - Images sort out of order

Fix your system locale, but this isn't a LC_COLLATE issue, you're looking for a dolphin setting "preferences > general > Natural sorting"

Offline

#7 2023-08-23 20:58:54

scatherinch
Member
Registered: 2023-02-24
Posts: 168

Re: [SOLVED] Dolphin - Images sort out of order

Oh...you're right. I mispelled LANG in my system locale config.

Fixed it

Offline

Board footer

Powered by FluxBB