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