In establishing order and subdivisions of layoff and reemployment, the department, when it finds past discriminatory hiring practices, may authorize modification of the order of layoff only if failure to do so would result in ineligibility for a federal program with a loss of federal funds or if required by federal law or the United States Constitution.