Sort replacements better

webpack/webpack#167
0.3.2