diff --git a/src/main/java/walkingkooka/spreadsheet/engine/BasicSpreadsheetEngine.java b/src/main/java/walkingkooka/spreadsheet/engine/BasicSpreadsheetEngine.java index be61030fe..27d9ccd61 100644 --- a/src/main/java/walkingkooka/spreadsheet/engine/BasicSpreadsheetEngine.java +++ b/src/main/java/walkingkooka/spreadsheet/engine/BasicSpreadsheetEngine.java @@ -501,8 +501,8 @@ private SpreadsheetDelta sortCells0(final SpreadsheetCellRangeReference cellRang movedFromTo::put, // moved cells context.spreadsheetMetadata() .sortSpreadsheetComparatorContext( - context, // ConverterProvider context::now, // now supplier + context, // ConverterProvider context, // SpreadsheetLabelNameResolver context // ProviderContext ) diff --git a/src/main/java/walkingkooka/spreadsheet/meta/SpreadsheetMetadata.java b/src/main/java/walkingkooka/spreadsheet/meta/SpreadsheetMetadata.java index 7752eb865..0d904eec8 100644 --- a/src/main/java/walkingkooka/spreadsheet/meta/SpreadsheetMetadata.java +++ b/src/main/java/walkingkooka/spreadsheet/meta/SpreadsheetMetadata.java @@ -764,9 +764,9 @@ public final ExpressionFunctionProvider expressionFunctionProvider(final Express /** * Returns a {@link SpreadsheetComparatorContext} which may be used for sorting. */ - public final SpreadsheetComparatorContext sortSpreadsheetComparatorContext(final SpreadsheetProvider spreadsheetProvider, - final Supplier now, + public final SpreadsheetComparatorContext sortSpreadsheetComparatorContext(final Supplier now, final SpreadsheetLabelNameResolver resolveIfLabel, + final SpreadsheetProvider spreadsheetProvider, final ProviderContext providerContext) { return this.spreadsheetComparatorContext( now, // now supplier