function _getSortedDimensions(aProperties) {

		var aDimensions = aProperties.filter(function(oItem) {
			return oItem.kind == "Dimension";
		});

		if (aDimensions) {
			aDimensions.sort(function(a, b) {
				if (a.label && b.label) {
					return a.label.localeCompare(b.label);
				}
			});
		}

		return aDimensions;
	}
//Get all dimensions in a sorted manner
Get all dimensions in a sorted manner
Get all dimensions in a sorted manner
function _getSortedDimensions(aProperties) {
		var aDimensions = aProperties.filter(function(oItem) {
			return oItem.kind == "Dimension";
		});
		if (aDimensions) {
			aDimensions.sort(function(a, b) {
				if (a.label && b.label) {
					return a.label.localeCompare(b.label);
				}
			});
		}
		return aDimensions;
	}
function _getSortedDimensions ( aProperties ) { var aDimensions = aProperties . filter ( function ( oItem ) { return oItem . kind == "Dimension" ; } ) ; if ( aDimensions ) { aDimensions . sort ( function ( a , b ) { if ( a . label && b . label ) { return a . label . localeCompare ( b . label ) ; } } ) ; } return aDimensions ; }
Get all dimensions in a sorted manner
Get all dimensions in a sorted manner