def METHOD_NAME(self):
    """Sorts regex features lexicographically by name+pattern"""
    self.regex_features = sorted(self.regex_features,
                                 key=lambda e: "{}+{}".format(e['name'],
                                                              e['pattern']))