add sorting to items. add default sort value to all items.