Skip to content

[Feature request] Sort lines by length #17186

@softmgr

Description

@softmgr

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

Currently, the "Line Operations" menu does not have an option to sort lines by length, which makes it impossible to rearrange the lines from shortest to longest or vice versa.

Describe the solution you'd like.

It would be helpful to add an option for sorting by line length, so that the longest and shortest lines in the entire file can be easily identified.

Debug Information

Notepad++ v8.8.7   (64-bit)
Build time: Oct 19 2025 - 16:19:15
Scintilla/Lexilla included: 5.5.7/5.4.5
Boost Regex included: 1_85
Path: C:\App\Notepad++\notepad++.exe
Command Line: 
Admin mode: ON
Local Conf mode: ON
Cloud Config: OFF
Periodic Backup: OFF
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: multiInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: ON
Display Info:
    primary monitor: 2560x1440, scaling 112%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - NVIDIA GeForce GTX 960
        0000: DriverVersion - 32.0.15.6094
OS Name: Windows 11 Pro (64-bit)
OS Version: 25H2
OS Build: 26200.7171
Current ANSI codepage: 949
Plugins: 
    mimeTools (3.1)

Anything else?

No response

Metadata

Metadata

Assignees

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