{"$schema":"https://toolsly.tools/schemas/tool-manifest-v1.json","generated":"2026-06-02T15:45:21.816Z","discovery":{"catalog":"https://myaitools.net/tools.json","llmsTxt":"https://myaitools.net/llms.txt","sitemap":"https://myaitools.net/sitemap.xml"},"relatedTools":[{"slug":"text-dedupe-lines","name":"Deduplicate Lines","url":"https://myaitools.net/text-dedupe-lines"},{"slug":"json-sort-keys","name":"JSON Sort Keys","url":"https://myaitools.net/json-sort-keys"},{"slug":"text-counter","name":"Text Counter","url":"https://myaitools.net/text-counter"},{"slug":"text-case-converter","name":"Text Case Converter","url":"https://myaitools.net/text-case-converter"},{"slug":"html-encode","name":"HTML Encode","url":"https://myaitools.net/html-encode"},{"slug":"html-decode","name":"HTML Decode","url":"https://myaitools.net/html-decode"},{"slug":"hex-to-text","name":"Hex to Text","url":"https://myaitools.net/hex-to-text"},{"slug":"base32-decode","name":"Base32 Decode","url":"https://myaitools.net/base32-decode"}],"kind":"utility","slug":"text-sort-lines","name":"Sort Lines","description":"Sort lines alphabetically or numerically, ascending or descending, case-sensitive or not.","longDescription":"Split text on newlines and sort the lines. Pick ascending or descending order, toggle case sensitivity, and enable natural numeric sorting so \"item2\" comes before \"item10\". Runs entirely in your browser.","category":"text","categoryName":"Text & Encoding","keywords":["sort lines","line sorter","sort text lines","alphabetize lines","sort lines online","sort lines free","natural sort lines","numeric line sort","ascending sort","descending sort","case sensitive sort","line sort tool","text line sorter"],"badge":"Transformer","url":"https://myaitools.net/text-sort-lines","inputs":[{"type":"text","key":"text","label":"Text (one item per line)","placeholder":"banana\napple\ncherry","multiline":true,"monospace":true},{"type":"select","key":"direction","label":"Direction","defaultValue":"asc","choices":[{"value":"asc","label":"Ascending (A → Z)"},{"value":"desc","label":"Descending (Z → A)"}]},{"type":"boolean","key":"caseSensitive","label":"Case-sensitive","defaultValue":false},{"type":"boolean","key":"numeric","label":"Natural numeric sort","defaultValue":false,"help":"Treats embedded numbers naturally (item2 < item10)."}],"outputs":[{"key":"sorted","label":"Sorted","multiline":true},{"key":"count","label":"Lines"}],"invocation":{"webUi":"https://myaitools.net/text-sort-lines","api":null,"notes":"Currently invoked via the web UI at `webUi`. Inputs are form fields; outputs are structured text values. A remote MCP/REST API is planned."}}