title: Sort Words in a Dictionary by The Amount Of Times They Appear
body: <p>String = &quot;Today was a very a good day. Tomorrow might be a better day&quot;
  I want to sort the each word in a dictionary by the amount of time they have appeared. So the output will be:</p>
  <pre><code> {3: ['a'], 2: ['day'], 1: ['Today', 'was', 'very', 'good', 'Tomorrow', 'might', 'be', 
   'better']}
  </code></pre>
  <p>I am really unsure about how to approach this problem. The code I have so far:</p>
  <pre><code>String = &quot;Today was a very a good day. Tomorrow might be a better day&quot;
  word = String.split()
  frequency = {}
  count = 0
  
  for i in word:
      count = +1
                  
  </code></pre>