fix(sorting): Predicate now does not get reversed if it is not set yet