Add specific ordering to mrblib compile

This will also fix the issue from #1332. If this is adopted then pull #1133 can be ignored.