Change MeMu and MuMe sorting strategy. Also simplify PatternByCountComparator