Simple solution. Below command worked for me
git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short) - %(committerdate:short)'