Minor fix on grid order change
Merge pull request #155 from smariussorin/master

Minor fix on grid order change