Sort headers when printing