def METHOD_NAME(self, names):
    """Specify an ordering for the output hop suggestions.
    Accepted names are:
     - 'weight' - the weight of the link, ascending (default). In the case of MultiHopStrategy, this is the
                  product of the weights along the path found.
     - 'time_asc' - the time of the snapshot, ascending order
     - 'time_desc' - the time of the snapshot, descending order
     - 'halo_number_asc' - the halo number, ascending
     - 'halo_number_desc' - the halo number, descending
     - 'nhops' - the number of hops taken to reach the halo (MultiHopStrategy only)
    Multiple names can be given to order by more than one property.
    """
    if names is None:
        names = ['weight']
    elif isinstance(names, str):
        names = [names]
    self._order_by_names = [x.lower() for x in names]