"use strict";

exports.__esModule = true;
exports.compareSortArrays = compareSortArrays;
function compareSortArrays(sort1, sort2) {
  if (sort1.length !== sort2.length) {
    return false;
  }
  return sort1.every((sortItem1, index) => {
    const sortItem2 = sort2[index];
    return sortItem1.fieldKey === sortItem2.fieldKey && sortItem1.order === sortItem2.order;
  });
}
//# sourceMappingURL=compareSortArrays.js.map