reworking dynamic groups to allow sort transform for sort block. refactoring some tests to use OCMock and updateWithTransaction instead of updateWithCount: