Added sorting to item list