diff --git a/src/components/FlameLinkCollection.js b/src/components/FlameLinkCollection.js
index ecb1b2b..ab1f13e 100644
--- a/src/components/FlameLinkCollection.js
+++ b/src/components/FlameLinkCollection.js
@@ -6,7 +6,6 @@ class FlameLinkCollection extends Component {
constructor() {
super();
- global.mediaID = '';
this.state = {
schemaContent: '',
@@ -22,7 +21,7 @@ class FlameLinkCollection extends Component {
var arr2 = [];
var collectionInfo = [schemaData, this.state.schemaContent];
for (var val in this.state.schemaContent){
- arr2.push(val);
+ arr2[this.state.schemaContent[val]['order']] = val;
}
return arr2.map(this.getCollectionComponentInfo, collectionInfo);
}
@@ -35,6 +34,17 @@ class FlameLinkCollection extends Component {
return