terraform: sort the modules in the state [GH-318]