title: How to print list of strings in reverse lexicographical order?
body: <p>I need to write code that takes a user input, convert it to lowercase, then outputs it in reverse lexicographical order; Hence, &quot;Paris in the Spring&quot; becomes &quot;the spring paris in&quot;</p>
  <p>Here's what I have so far:</p>
  <pre class="lang-py prettyprint-override"><code>inStr = input(&quot;Enter a string: &quot;)
  
  # convert to lower case
  lowStr = inStr.lower()
  # split string into list items
  listStr = lowStr.split()
  # sort lexicographical order
  listStr.sort()
  
  print(&quot;Output: &quot;, &quot; &quot;.join(listStr))
  </code></pre>
  <p>I just need to reverse the order of the output. Thanks!</p>