About Reverse Line Order
Reverse Line Order flips the input top-to-bottom — the last line becomes the first, the second-to-last becomes the second, and so on. No comparison or sorting is involved; the operation is pure and deterministic, and the line count is preserved exactly.
Reach for it whenever the order of your list is wrong but the content is correct: read a chronological log from newest to oldest, turn an ascending sorted list into a descending one without re-sorting, flip an array literal you accidentally generated in the wrong direction, or invert a stack-trace excerpt to read in execution order. Reverse has no comparison rules, so it works on any text — including lines that would not be sortable, like mixed languages, emoji, or opaque binary identifiers.
Examples
first
second
thirdthird
second
firstPure reversal — no comparison or sorting involved.
Frequently asked questions
Is reversing the same as sorting in descending order?
Only if the input was already in ascending order. Reverse flips whatever order is there; descending sort actually compares lines. For a sorted input both produce the same output, but on an unsorted list they diverge.
Are duplicates affected?
No. Every line is preserved in reversed position, including duplicates. Reverse changes order, not content.
What happens to a trailing empty line?
It becomes a leading empty line in the output. Run Remove Blank Lines first if you want empty lines dropped entirely before reversing.
Does it work on a single line?
Yes — the output equals the input, since one line cannot be reordered.
