Allows sorting/comparison of two Item instances. In your bag you have different Pockets in Pokemon, these can be sorted against each other by name or id.