title: Certain Firebase data only showing when page is reloaded
body: <p>Everything is working fine for the following Firebase database query, except the reordering function (basic reordering of dictionaries into arrays I then use) does not work on initial load.</p>
  
  <p>If I then navigate away from the page and back to it (triggering a reload), everything is presented nicely re-ordered. I've tried moving the function around, but I haven't had much luck. I'm not sure what I'm missing.</p>
  
  <pre><code>refHandle = ref.child("users/\(uid ?? "x")").child("Selections").observe(.childAdded, with: { snapshot in
  
      self.userOriginalMenus.append(snapshot.key)
      let rightDict = snapshot.value as! NSDictionary
  
      for dictName in rightDict.allKeys {
  
          self.userTitlesToDisplay.append(dictName as! String)
          let selectionDict = rightDict[dictName] as! NSDictionary
  
          for selectionName in selectionDict.allKeys {
  
              let index = selectionDict[selectionName]
  
              let selectionNumberString = index as! String
              let actualSelectionNumber = Int(selectionNumberString)
              self.userDict[actualSelectionNumber!] = "\(selectionName)"
              self.userTitlesToDisplayDict[actualSelectionNumber!] = "\(dictName)"
              self.userOriginalMenusDict[actualSelectionNumber!] = snapshot.key
          }
      }
      self.reorderSelections()
  })
  </code></pre>