Allow parsing of a two dimensional list for controlling the order of headers