title: Finding and sorting string
body: <pre><code>data_set = ["This is cool jacket","I have two white shirts","I need black leather jacket", "I have five half shirts"]
  shirt_list = []
  jacket_list = []
  def parse_data(clothes):
   for i in clothes:
     if "Jacket" in data_set:
       jacket_list.append(i)
     elif "shirt" in data_set:
       shirt_list.append(i)
     else:
       pass
   return shirt_list,jacket_list
  print(parse_data(data_set))
  </code></pre>
  
  <p>I need to sort and collect the data from particular string for ex- in the code I need Jacket string to be printed in Jacket_list similarly for shirts. I tried with this code its not working. </p>