Allow patterns to be sorted by frequency or methylation degree in either ascending or descending order