const sortCustomization = ({ materialSlots, modelSlots, }) => {
    materialSlots.sort((a, b) => (a.slot > b.slot ? 1 : a.slot < b.slot ? -1 : 0));
    modelSlots.sort((a, b) => (a.slot > b.slot ? 1 : a.slot < b.slot ? -1 : 0));
    modelSlots.forEach((slot) => {
        if (slot.activeModel)
            sortCustomization(slot.activeModel);
    });
};
export default sortCustomization;
//# sourceMappingURL=sortCustomization.js.map