This is done by sorting all the commands inside a block. Doing so makes it much easier to diff two files.