Skip to content

[BUG] Sort Lines Lexicographically Ascending #16406

@RISC-VVV

Description

@RISC-VVV

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

The Result Of Sorting Chinese Fonts In "Sort Lines Lexicographically Ascending" And "Sort Lines Lexicographically Descending" Dictionary Order Is Wrong

Steps To Reproduce

1.Operation path
Edit->Line Operations->Sort Lines Lexicographically Ascending


Correct Ascending Sorting


2.Operation path
Edit->Line Operations->Sort Lines Lexicographically Descending


Correct Descending sorting


Current Behavior

The sorting results of "Sort Row Dictionary Ascending" and "Sort Row Dictionary Descending" executed in Chinese seem to be opposite

Expected Behavior

I hope this bug can be fixed.

Correct Ascending Sorting


Correct Descending sorting


Debug Information

Notepad++ v8.7.9   (64-bit)
Build time : Mar 26 2025 - 03:20:28
Scintilla/Lexilla included : 5.5.5/5.4.3
Boost Regex included : 1_85
Path : D:\MyProgram\npp.8.7.9.portable.x64\notepad++.exe
Command Line : 
Admin mode : ON
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
Scintilla Rendering Mode : SC_TECHNOLOGY_DEFAULT (0)
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledOld (for all opened files/tabs) + cdAutoUpdate + cdGo2end
Dark Mode : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 22H2
OS Build : 19045.5737
Current ANSI codepage : 936
Plugins : 
    ComparePlugin (2.0.2)
    JSMinNPP (1.2503)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    PythonScript (2.1)
    XMLTools (3.1.1.13)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions