added different comperator for planitems to match planid instead of dateupdated