Added sorting to 4000 footer table