Compare pinning menu item by name property.