Added sorting field capability