#7252: Fix population pyramid chart for new gender values and age group sorting