Take different order into account