title: Sorting an Array C#
body: <p>I am trying to sort an array before printing the coordinates to the console.  I tried to resort the Ships array based on the Y coordinate.  I need to reorder it so I can print them in order.  i tried Array.Sort(myArray) - fails, I tried converting to a list or dictionary but not sure that is the best way.  Any suggestions?</p>
  
  <p><a href="https://i.stack.imgur.com/cZGH6.png" rel="nofollow noreferrer">Need to resort the Ships array</a></p>