code: def __sort_up(self):
          
          if self.__do_need_sort_up:
              self.__up_objects.sort(self.__up_cmp)
              self.__do_need_sort_up = False
docs: Sort the updatable objects according to ascending order