Arrange Int order displayed from .plists in Swift?
|Added at||2016-12-28 08:12|
I have a list of plist files that reads an Int and displays it in my collectionView. The issue I'm having is that the collectionview doesn't display the Int in order from 1st to last. It displays them in the order of the plist files themselves. in example
lets say "extra-1.plist" has Int 1-50 and "extra-2.plist" has Int 51-100. If I were to list "extra-2" on the resourceNames first, than the collectionView would display "51-100 & 1-50" instead of "1-50 & 51-100". I'm stumped as to the code I would need so that it displays the Ints it reads in order, regardless of the order of the plist files.