Got the header table being created and sorted