tail options changed to support Solaris
ensure output is sorted
upped version