def sort(self, sorted_items): return KeyHeapq(sorted_items, key=lambda x: self.__sort_wmes(x.token))
def sort(self, sorted_items): return KeyHeapq(sorted_items, key=lambda x: -x.complexity)
def build_container(self): return KeyHeapq(key=lambda x: self.__sort_wmes(x.token))
def build_container(self): return KeyHeapq(key=lambda x: -x.complexity)