code: def get_headers_in_order(self):
          
          res = list()
          #Scan through self.headers_in_order and just bolt on the actual header info
          for bucket in sorted(self.headers_in_order):
              for idx, k in self.headers_in_order[bucket]:
                  res.append( (idx, k, self.headers[idx][k]) )
          return res
docs: Gets the headers in the order they want to be displayed.
             Returns a list of triplets: (idx, key, header_info)