run exports in weight order, #14924