Modify BasePortMapper.equals() to deem mappers with the same ports/indices in different orders as equal.