Solved
Sorting in custom object list by field value
In CO list, field-A is having two value and what can be conditional statement to sort the CO list by field value only?
Custom objects(co_c), field-A(fieldA) and value of field-A is (val1, val2)
In CO list, field-A is having two value and what can be conditional statement to sort the CO list by field value only?
Custom objects(co_c), field-A(fieldA) and value of field-A is (val1, val2)
- case-insensitive alphabetical
If the list is $myList, and the String property to sort by is myProperty, then
#set( $mySortedList = $sorter.sort( $myList, ["myProperty"] ) )
- counter running minimum 3
#if( $myList.size() < 3 )
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.