Fix sheet order generation bug.
Merge branch 'bugfix' into power-models