attributePropertiesMap.find(m_attributeNameForSort);
AttributeProperties &property = iter->second;
- result = getAllContactsSorted(property, m_sortOrder);
+ if(m_sortOrder == ASCENDING_SORT_ORDER)
+ result = getAllContactsSorted(property, true);
+ else
+ result = getAllContactsSorted(property, false);
}
else
{