Update SortPerMultipleConditions