Implement comparison for lists & vectors