title: Cast data of type Any to Array of strings in Swift
body: <p>So in working on an app using swift and firebase but i have an issue, i have a table view where i add in the data as dates but when i retrieve them, i want them ordered in a way by the time i added them in. so last item will be at the last index. 
  Basically i retrieve a data block as type any</p>
  
  <pre><code>Optional({
      "-Ly6Njj9vNH_T9umxDwS" = "01-08-2020";
      "-Ly6U4vzEAGvIC0Yblnl" = "12-08-2020";
      "-Ly6U7_91jW5tajpX7k0" = "11-08-2020";
      "-Ly6UG6HYqTMq1NaRehI" = "10-08-2020";
  })
  </code></pre>
  
  <p>so here you can see they are numbered correclty frim top to bottom but when i try to put them into an array using</p>
  
  <pre><code>data as? [String]
  </code></pre>
  
  <p>it doesnt work and i can do </p>
  
  <pre><code>data as [String: String]
  </code></pre>
  
  <p>but that doesnt keep the order, i know i can add time stamps and such but if i have the data correctly formatted aleady but in a type of Any, there must be a way to cast it into an array</p>