diff --git a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java index 06823ea9..1331239a 100644 --- a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java +++ b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java @@ -2190,7 +2190,7 @@ private Set getMultiAttributeFilteredUser String sortBy, String sortOrder, String domainName, int maxLimit, boolean paginationRequested) throws CharonException, BadRequestException { - Set users = new HashSet<>(); + Set users = new LinkedHashSet<>(); if (StringUtils.isNotEmpty(domainName)) { users = getFilteredUsersFromMultiAttributeFiltering(node, offset, maxLimit, sortBy, sortOrder, domainName, false);