Altered CondensedPatternMatrix so that it by default sorts by frequency.