def _sort_by_recency(ds):
 return sorted(ds, key=_time_sort_key, reverse=True)

def _sort_by_recency ( ds ) : return sorted ( ds , key = _time_sort_key , reverse = True )
sort the given list/sequence of dicts containing ids so that the most recent ones come first .