Added sort support to []Header
Added toHeader tests