Refactor to modify output of language.pl so that all numerical problems
are displayed in order with dependencies