Optimize reduce for maps
Keep .gitignore ordering