Skip to content

natural sort and case-sensitive #55

Description

@kvorobyov

It looks like it's impossible to make case insensitive sort with natural sort turned off.

[[!FileDownload? &getDir=files/old &directLink=1 &countDownloads=0 &sortByCaseSensitive=0 &sortOrderNatural=0 ]]

it produces the following:

Cfile_09.exe
Lfile_11.exe
Mfile-191.exe
iFile.exe

but I hope it would be

Cfile_09.exe
iFile.exe
Lfile_11.exe
Mfile-191.exe

I guess SORT_STRING | SORT_FLAG_CASE options must be added to asort / arsort function calls by default.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38983020-natural-sort-and-case-sensitive?utm_campaign=plugin&utm_content=tracker%2F1480317&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1480317&utm_medium=issues&utm_source=github).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions