cd .. gawk -f rank.awk Fields=2 Keys=1 test1.dat | sort -t, -n