Skip to content

Commit

Permalink
[Taxonomy] Sort bootstrap components
Browse files Browse the repository at this point in the history
  • Loading branch information
VWoeltjen committed Oct 4, 2013
1 parent d2c0544 commit e703693
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import gov.nasa.arc.mct.services.internal.component.User;

import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

Expand Down Expand Up @@ -174,7 +175,9 @@ public List<AbstractComponent> getBootstrapComponents() {
if ("/UserDropBoxes".equals(ac.getExternalKey())) {
userDropboxesId = ac.getComponentId();
}
}
}
// Sort them, such that they are displayed in an appropriate order
Collections.sort(bootstrapComponents, Bootstrap.COMPARATOR);
return bootstrapComponents;
}

Expand Down

0 comments on commit e703693

Please sign in to comment.