in reply to Sed to perl conversion-- flipping lines in a file
sort -n -r <yourfile> [download]
Abigail