SOS-2351 Fix final jsp compilation error, use correct comparator