{"id":"natural-sort-strings","version":"1.0.0","description":"Sort strings by natural order (file2 before file10); returns the ordered strings and standard version.","supported_operations":["sort lines naturally so file10 comes after file2","natural sort strings","order filenames by embedded numbers","sort file2 before file10","human friendly alphanumeric ordering","sort text with numeric chunks","case insensitive natural sort","stable natural sorting with leading zeros"],"unsupported_operations":["locale-aware collation or full Unicode Collation Algorithm","sorting objects by a property","non-ASCII numeric digits, signed numbers, decimals, or scientific notation"],"semantics":["Maximal ASCII digit runs compare by exact numeric value; file2 sorts before file10 without numeric conversion.","leading_zeros defaults shorter_first; longer_first reverses equal-value zero ties and ignore leaves them tied.","case_fold defaults false and folds ASCII A-Z only when true; original code points provide a secondary tie-break.","stable defaults true and preserves input order for comparator ties; false breaks remaining ties by original Unicode code-point order, then input index.","Non-digits compare by Unicode code point. This is not full UCA collation and does not normalize text.","Every success returns standard_version \"ComputeFirst R92 natural order algorithm 1.0.0\"."],"limits":{"max_input_bytes":32768,"max_items":256,"max_string_bytes":1024,"max_iterations":1000000,"max_output_bytes":33000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["values"],"properties":{"values":{"type":"array","minItems":0,"maxItems":256,"items":{"type":"string","maxLength":1024}},"case_fold":{"type":"boolean"},"leading_zeros":{"type":"string","enum":["shorter_first","longer_first","ignore"]},"stable":{"type":"boolean"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["values","standard_version"],"properties":{"values":{"type":"array","maxItems":256,"items":{"type":"string","maxLength":1024}},"standard_version":{"type":"string","const":"ComputeFirst R92 natural order algorithm 1.0.0"}}},"examples":[{"input":{"values":["file10","file2","file1"]},"output":{"values":["file1","file2","file10"],"standard_version":"ComputeFirst R92 natural order algorithm 1.0.0"}},{"input":{"values":["x02","x2","x002"],"leading_zeros":"ignore"},"output":{"values":["x02","x2","x002"],"standard_version":"ComputeFirst R92 natural order algorithm 1.0.0"}}],"execute_url":"/v1/tools/natural-sort-strings/versions/1.0.0/execute"}