input: from typing import List
  
  
  def top_k_elements(numbers: List[float], k: int) -> List[float]:
      """Given a list of floats and an integer k, this function is supposed to return the k top elements from the list in descending order.
      If k is greater than the length of the list, the function should return the entire list ordered in descending order.
      For example:
      >>> top_k_elements([3.5, 2.0, 5.0, 1.8, 4.6], 3)
      [5.0, 4.6, 3.5]
      >>> top_k_elements([4.0, 8.3, 2.1, 0.5], 5)
      [8.3, 4.0, 2.1, 0.5]
      """
output:     numbers.sort(reverse=True)
      return numbers[:k]