Inlined -n for sort
Added maxerr.sh