awk 'BEGIN{ FS="|"}
{ ary[$14,NR]=$0}
END{ nrw=asorti(ary, newary) for(i=1;i<=nrw;i++) print ary[newary[i]]}' test.log |tail -n 10