import { useModuleSkeleton as r } from "@m4l/core";
import { useDynamicSortStore as S } from "../../store/useDynamicSortStore.js";
function l() {
  const o = S((e) => e.appliedSorts), i = r();
  return {
    appliedSortsSorted: [...o].sort(
      (e, t) => e.isSet !== t.isSet ? Number(e.isSet) - Number(t.isSet) : t.id - e.id
    ),
    isSkeleton: i
  };
}
export {
  l as default
};
