Added sorting to codelist selection grid