|
@@ -33,6 +33,7 @@ import re
|
|
|
import wx
|
|
|
|
|
|
from grass.script import core as grass
|
|
|
+from grass.script.utils import natural_sort
|
|
|
|
|
|
from grass.pydispatch.signal import Signal
|
|
|
|
|
@@ -1403,7 +1404,7 @@ class MapLayersDialogBase(wx.Dialog):
|
|
|
:param str mapset: mapset name
|
|
|
"""
|
|
|
self.map_layers = grass.list_grouped(type = type)[mapset]
|
|
|
- self.layers.Set(self.map_layers)
|
|
|
+ self.layers.Set(natural_sort(self.map_layers))
|
|
|
|
|
|
# check all items by default
|
|
|
for item in range(self.layers.GetCount()):
|