switch to using an array ref of default headers rather than attempting to sort the hash keys