fold -1|nl|sort -k2|awk '{getline a}$0=$1" "$2": "a-$1'|sort -n|cut -f2