For Emacs users: C-x h
(select the whole file) and then M-x reverse-region
. Also works for only selecting parts or the lines and reverting those.
↧
Answer by Marius Hofert for How can I reverse the order of lines in a file?
↧