Alphabetize text by the row. Sorts lines ascending or descending down a column — Google Sheets or Excel.
It's one of 250+ live sources you reach with a single =VERVE() function — served from APIVerve's production data engine, billed at 1 credit per resolved cell, and refreshed on whatever cadence you set. No API keys to wrangle, no scripts, no exports.
A real example — the input you type, and the values you can pull from it. Click any cell to see the formula behind it.
Fill =VERVE("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "field", "lineCount") beside messy text and get the normalized, analyzed, or translated version back — data cleaning without leaving the grid.
Score or classify a whole column of responses, reviews, or messages in one fill instead of one-by-one.
Nest Sort Lines of Text's output inside your existing SUM, IF, or CONCAT logic like any other cell value.
The same function works in both apps — install once, sign in with your key, and type it into any cell.
Install from the Workspace Marketplace, then drop the formula into a cell. Autocomplete suggests the source and its fields.
=VERVE("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "field", "lineCount")Same source, same arguments, same key — in Excel on desktop, the web, or mobile. Excel namespaces it as VERVE.CALL. Drag to fill a whole column.
=VERVE.CALL("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "field", "lineCount")Tune the result by adding name=value before the field argument — in any order. Leave one out and its default applies.
Sort order
=VERVE("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "order", "asc")Enable case-sensitive sorting
=VERVE("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "caseSensitive", "false")Add a field name as the last argument to land just that value in the cell.
=VERVE("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "field", "sorted")=VERVE("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "field", "lineCount")=VERVE("linesorter", "[""The quick brown fox jumps over the lazy dog"",""An apple a day keeps the doctor away"",""banana"",""Cherry blossoms bloom in spring"",""date""]", "field", "order")Everything you need to wire it into a sheet.