Order-by in the way that ls works

Hi all

Currently 'order-by' seems to treat upper/lower case seperately (eg so "a" to "z" comes after "A" to "Z")

Is it possible to implement a 'sort by name using upper/lower mixed' as that is the way ls does it (in both bash / zsh)

Use case: I am wanting to move across files to another computer/set-of-disks and I want to preserve the ls ordering so I can easily find which disk a file should be

Have you tried with --ignore-case-sync?

oh thanks. didn't know about that option - let me try and see if it does what I want