sed 's/./&\n/g' | sort | uniq -c | awk '{print $2, $1}' | xargs | awk '{print $10, $6, $4, $8, $2}'