title: How to format strings in an array in ruby?
body: <p>I have an array of strings that I need to format in a certain order, the array is as follows with the index of each string</p>
  
  <pre><code>array = [
  [0] "Bonk  Radek  S  Male  Green  6/3/1978",
  [1] "Bouillon  Francis  G  Male  Blue  6/3/1975",
  [2] "Smith  Steve  D  Male  Red  3/3/1985"
  ]
  </code></pre>
  
  <p>at the moment each string is formatted:  </p>
  
  <p>Last Name, First Name, Middle, Gender, Fav Color, Birth Date</p>
  
  <p>I need to write code that will format it:</p>
  
  <p>last name, first name, middle, gender, date of birth, favorite color </p>
  
  <p>How do I rearrange the strings to be in the format I want and return the array?</p>