Added partition comparator. Not done yet.