ScopedSort

A powerful sorting tool for everyone

Sort content within scopes and sections of your text with precision and flexibility. Perfect for organizing imports, lists, and structured data.

Before sorting
Sam    18  Male       140
Jack   23  Non-Binary 120
Niel   16  Female     135
Max    17  Male       135
Jane   22  Female     100
max    17  male       135
Jones  17  male       135
Lydia  N/A N/A        120
Mike   N/A male       N/A
After sorting (by gender)
Niel   16  Female     135
Jane   22  Female     100
Jack   23  Non-Binary 120
Sam    18  Male       140
Max    17  Male       135
max    17  male       135
Jones  17  male       135
Mike   N/A male       N/A
Lydia  N/A N/A        120

Key Features

A powerful solution for organizing and sorting your code with precision

Scoped Sorting

Sort content only within specific scopes or sections of your text, maintaining the structure of your code. Perfect for organizing imports, lists, and structured data without affecting the rest of your content.

Multiple Algorithms

Choose from various sorting algorithms including natural, case-insensitive, numerical, and more. Each algorithm is optimized for specific use cases to deliver the best results for your data.

Regex Support

Use regular expressions to define sections and control what gets sorted with powerful pattern matching. Create complex sorting rules that adapt to your specific formatting needs.

Cross-Platform

Available as a library, CLI tool, and VS Code extension to fit seamlessly into your workflow. Use it anywhere you need to organize and sort your content efficiently.

Get Started in Seconds

Install ScopedSort to start organizing your code more efficiently

# Install via npm
npm install string-content-sort
# Or use the CLI
npm install -g string-content-sort-cli

Ready to try it out online?