diff --git a/fluents/navigator.py b/fluents/navigator.py index e7fb5cc..a754e84 100644 --- a/fluents/navigator.py +++ b/fluents/navigator.py @@ -352,8 +352,8 @@ class NavigatorMenu(gtk.Menu): datasets = main.project.current_data ds_major = datasets[0] dims_major = ds_major.get_dim_name() - ids_major = ds_major.get_identifiers(dims_major[1]) - if len(datasets)>1: + ids_major = ds_major.get_identifiers(dims_major[1], sorted=True) + if len(datasets) > 1: # If there is more than one active dataset -> try to use the two first ds_minor = datasets[1] dims_minor = ds_minor.get_dim_name()