input: def print_substrings_in_order(string: str) -> None:
      """
      This function takes a string as input and prints all of its substrings in order from longest to shortest length.
      
      >>> print_substrings_in_order("abc")
      All substrings in order from longest to shortest:
      ['abc', 'ab', 'bc', 'a', 'b', 'c']
      
      >>> print_substrings_in_order("hello")
      All substrings in order from longest to shortest:
      ['hello', 'hell', 'ello', 'hel', 'ell', 'llo', 'he', 'el', 'll', 'lo', 'h', 'e', 'l', 'l', 'o']
      """
      result = []
      n = len(string)
      for l in range(n, 0, -1):
          for i in range(n-l + 1):
              result.append(string[i:i+l])
      print("All substrings in order from longest to shortest:")
      print(result)
output:     result = []
      n = len(string)
      for l in range(n, 0, -1):
          for i in range(n-l + 1):
              result.append(string[i:i+l])
      print("All substrings in order from longest to shortest:")
      print(result)