cat nowcoder.txt | sort -t ":" -k 1,1 -sb | awk -F ":" '{if(1 != str){print "["1"]\n"2;str=2;str =1;}else {print $2}}'