I thought this put the largest integer at the bottom and I could assign it to a variable. (I'm used to sort -n in unix.) I created a test file with 1000 as the largest value, but got 829 (the next highest value) instead. When I looked at the sort it was something like...
How can I identify the largest integer in the file?