Index: trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java	(revision 7175)
+++ trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java	(revision 7176)
@@ -12,8 +12,8 @@
 import java.util.ArrayList;
 import java.util.Collection;
-import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Set;
+import java.util.TreeSet;
 
 import javax.swing.Action;
@@ -136,5 +136,5 @@
             MapView mv = Main.map.mapView;
             LatLon pos = mv.getProjection().eastNorth2latlon(mv.getCenter());
-            final Set<ImageryInfo> inViewLayers = new HashSet<>();
+            final Set<ImageryInfo> inViewLayers = new TreeSet<>();
 
             for (ImageryInfo i : ImageryLayerInfo.instance.getDefaultLayers()) {
