code: def sort_prefixes(orig, prefixes='@+'):
      
      new = ''
      for prefix in prefixes:
          if prefix in orig:
              new += prefix
      return new
docs: Returns a sorted list of prefixes.
  
      Args:
          orig (str): Unsorted list of prefixes.
          prefixes (str): List of prefixes, from highest-priv to lowest.