Reverse the lines

Paste a multi-line text and reverse the order of the lines, from last to first.

The real case: reversed chronological order

Almost everything that writes itself puts the most recent thing on top: chats, a program's logs, notifications, an order's history. When you have to read that text as a story, or paste it into a report, the right order is the other one. Reversing the lines is the quickest way: no sorting, no dates to interpret, just the current order flipped, from the last line to the first.

Why this isn't sorting

Sorting looks inside the lines and decides which comes first: alphabetically, by number, by length. Here nothing is looked at, it's just flipped. The difference shows when the lines aren't sorted already: if the starting text is a jumble, the result is a jumble backwards. If what you need is real alphabetical order, the page is Sort lines.

Mind the empty lines

Empty lines are lines too and get flipped along with the rest, so the spacing between blocks travels with the text. One case surprises people: if the text you pasted ends with a line break, that break is an empty line at the bottom, and flipping turns it into an empty line at the top. It isn't a bug, it's the same line in a new place: if it bothers you, drop the last line break before pasting, or remove empty lines with Remove empty lines.

Nearby tools

To flip the words inside each line, instead of the lines among themselves, there is Reverse word order; to flip the characters Reverse text. To put the lines from shortest to longest Sort lines by length, and to number them once they're back in order Add line numbers.