code: function _compareById(a, b) {
          assert.strictEqual(typeof a.id, typeof b.id);
          assert.ok(!_.isUndefined(a.id));
          return _compareIds(a.id, b.id);
      }
docs: ### `_compareById()` Compares two elements by their id