Categories

Sort Text Lines Enhanced

Sort lines alphabetically, numerically, or by their length with advanced options

Sort with case sensitivity (Aa-Zz)

Sort numbers naturally (file2.txt comes after file1.txt, not file10.txt)

Remove duplicate lines while sorting

Remove leading/trailing whitespace from lines before sorting

API Documentation

Request Endpoint

POST /en/api/tools/text-enhanced-sorter

Request Parameters

Parameter Name Type Required Description
textInput textarea Yes -
sortBy select Yes -
sortOrder select Yes -
caseSensitive checkbox No Sort with case sensitivity (Aa-Zz)
naturalSort checkbox No Sort numbers naturally (file2.txt comes after file1.txt, not file10.txt)
removeDuplicates checkbox No Remove duplicate lines while sorting
trimLines checkbox No Remove leading/trailing whitespace from lines before sorting

Response Format

{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Text: Text

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-text-enhanced-sorter": {
      "name": "text-enhanced-sorter",
      "description": "Sort lines alphabetically, numerically, or by their length with advanced options",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-enhanced-sorter",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]