Added sorting to the items menu