fixed sorting of the shifts in PDF shiftplan