Print bash associative array elements by sorted keys

you can sort numerically and also set - as field separator: ... | sort -t- -k2 -n