How can I reverse the order of lines so that the first line appears at the end and the last line appears first?  (Could be all the lines in a buffer, an address range, or a linewise visual mode selection.)I'd like to transformratoxtigerdogpigintopigdogtigeroxratwithout resorting to an external command such as tac.
How to reverse the order of lines?
rearrangement