use raw string in regexp
sort the lines of the dictionary

I sorted 2 blocks separately, according to the comments.
The goal is to ease finding duplicate keys.
remove 2 duplicate entries in the dictionary