title: Efficient way in Python to remove an element from a comma-separated string
body: <p>I'm looking for the most efficient way to add an element to a comma-separated string while maintaining alphabetical order for the words:</p>
  
  <p>For example:</p>
  
  <pre><code>string = 'Apples, Bananas, Grapes, Oranges'
  subtraction = 'Bananas'
  result = 'Apples, Grapes, Oranges'
  </code></pre>
  
  <p>Also, a way to do this but while maintaining IDs:</p>
  
  <pre><code>string = '1:Apples, 4:Bananas, 6:Grapes, 23:Oranges'
  subtraction = '4:Bananas'
  result = '1:Apples, 6:Grapes, 23:Oranges'
  </code></pre>
  
  <p>Sample code is greatly appreciated.  Thank you so much.</p>