docs: def ordered_uniqify(sequence):
      """
      Uniqifies the given hashable sequence while preserving its order.
  
      :param sequence: Sequence.
      :type sequence: object
      :return: Uniqified sequence.
      :rtype: list
      """
  
      items = set()
      return [key for key in sequence if key not in items and not items.add(key)]