nl|sort -k2nr|awk '$0=$1'|tr 123 ABC