Make sure grains are written first by setting order: 1