Item sorter

Ready for testing