Order nodes alphabetically after other priority rules have been applied
This commit is contained in:
@@ -74,6 +74,6 @@ public class PriorityComparator implements Comparator<Node> {
|
||||
return o1.getWildcardLevel() > o2.getWildcardLevel() ? 1 : -1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
return o1.getPermission().compareToIgnoreCase(o2.getPermission()) == 1 ? -1 : 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user