The median age of a population is an index that divides the population into two equal groups : half of the population is older than the median age and the other half younger.In 2015 , the median age of Switzerland 's population was 42.2 years .