I just want to sort my array of values, which I get from a model. After checking the forum I found that I need to sort occures list and did the following: 

 var objOccs = array.ObjOccList();

 objOccs = ArisData.sort(objOccs, Constants.SORT_GEOMETRIC, Constants.SORT_Y, currentLanguage);


Tried to sort the following also: 

 objOccs = ArisData.sort(objOccs, Constants.SORT_Y, Constants.SORT_NONE, currentLanguage);

 objOccs = ArisData.sort(objOccs, Constants.SORT_Y, Constants.SORT_GEOMETRIC, currentLanguage);

Could someone help me? 




Tags: ARIS script