NEWS updates
sort the typetree printed by the example code
fix #4589