Added sorting option