* NEW/FIX: Access $params in custom comparators