Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

sort satellite/sensor list in categories view

Mike McGann1ebe727cf00f
diff --git a/web/js/layers/modal.js b/web/js/layers/modal.js
index 5861fb13d..2aeedc72d 100644
--- a/web/js/layers/modal.js
+++ b/web/js/layers/modal.js
@@ -529,7 +529,9 @@ export function layersModal(models, ui, config) {
$measurementContent.append($sourceTabs);
// Begin source level
- lodashValues(current.sources).forEach(function(source) {
+ let values = Object.values(current.sources);
+ values.sort((a, b) => a.title > b.title);
+ values.forEach((source) => {
var isMetadataExpanded;
// Check if sources have settings with the same projection.
if (hasMeasurementSetting(current, source)) {