Collections.sort(lObj, new ListComparatorByMetaList((List) comparatorObj, sortDir));
}
// Javascript-Function retrieving the value to sort
else if (comparatorObj instanceof Function) {
Collections.sort(lObj, new JavascriptFunctionComparator((Function) comparatorObj, cx, thisObj));
}
// Single metadata name
else {
Collections.sort(lObj, new ListComparatorByMeta((String) comparatorObj, sortDir));