Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird sorting of zero between brackets/braces #195

Open
sbertault opened this issue Nov 21, 2022 · 0 comments
Open

Weird sorting of zero between brackets/braces #195

sbertault opened this issue Nov 21, 2022 · 0 comments
Labels

Comments

@sbertault
Copy link

Describe the bug
When between square brackets or curly braces (but not parens) zero is ranked after nine instead of before one.

To Reproduce
Steps to reproduce the behavior:

  1. Create new scratch file of type plain text
  2. type in the following lines :
9
0
1
a[9]
a[0]
a[1]
  1. select all
  2. String Manipulations > Sort Lines > Case Sensitive + Normal Sort + Natural Order Comparrator > OK
  3. the order is now
0
1
9
a[1]
a[9]
a[0]

Environment :
String Manipulation v 9.5.0

IntelliJ IDEA 2022.1.2 (Ultimate Edition)
Build #IU-221.5787.30, built on May 31, 2022
Runtime version: 11.0.15+10-b2043.56 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

OS : Linux Debian 11
Locale LANG=fr_FR.UTF-8

@krasa krasa added the bug label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants