diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/managed_property/ManagedPropertyGridActionDialog.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/managed_property/ManagedPropertyGridActionDialog.java
index 314c3cb2d2cb349fa4380532ef233a4bbe06a3c2..cad88a0c71ed0151f2d9a397ee42b03c6be26216 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/managed_property/ManagedPropertyGridActionDialog.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/managed_property/ManagedPropertyGridActionDialog.java
@@ -17,6 +17,7 @@
 package ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.managed_property;
 
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
@@ -109,11 +110,11 @@ public final class ManagedPropertyGridActionDialog extends
         {
             ManagedUiTableActionDescription ma = (ManagedUiTableActionDescription) managedAction;
             List<Integer> selectedRows = new ArrayList<Integer>();
-            selectedRows.clear();
             for (TableModelRowWithObject<ReportRowModel> rowModel : data)
             {
                 selectedRows.add(rowModel.getObjectOrNull().getRowNumber());
             }
+            Collections.sort(selectedRows);
             ma.setSelectedRows(selectedRows);
         }