seq 5 | awk '{print ($1%2?"b":"a") $1}' | sort -V | cut -c2-