Skip to content

Conversation

@GhDj
Copy link
Owner

@GhDj GhDj commented Dec 15, 2025

Summary

Add new Sort Lines tool with the following features:

  • Sort A-Z / Z-A (alphabetical)
  • Natural sort (smart alphanumeric: file1, file2, file10)
  • Numeric sort (ascending/descending)
  • Sort by line length
  • Reverse line order
  • Remove duplicates (dedupe)
  • Shuffle (randomize)

Options:

  • Case sensitive toggle
  • Trim whitespace
  • Remove empty lines

Changes

  • resources/views/tools/sort-lines.blade.php - New tool view
  • app/Http/Controllers/ToolController.php - Add sortLines method and homepage entry
  • resources/views/home.blade.php - Add sort icon
  • routes/web.php - Add route and sitemap entry
  • tests/Feature/WebRoutesTest.php - Add tests (59 tests passing)

Test plan

  • Load /tools/sort-lines page
  • Enter sample text with multiple lines
  • Test A-Z sorting
  • Test Remove Duplicates
  • Test Shuffle
  • Verify case sensitive option works

@GhDj GhDj merged commit 36d811c into develop Dec 15, 2025
3 checks passed
@GhDj GhDj mentioned this pull request Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants