We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e74db9 commit 211d2b2Copy full SHA for 211d2b2
src/material/table/table-data-source.ts
@@ -149,7 +149,7 @@ export class MatTableDataSource<T> extends DataSource<T> {
149
let valueB = this.sortingDataAccessor(b, active);
150
151
// If both valueA and valueB exist (truthy), then compare the two. Otherwise, check if
152
- // one value exists while the other doesn't. In this case, existing value should come first.
+ // one value exists while the other doesn't. In this case, existing value should come last.
153
// This avoids inconsistent results when comparing values to undefined/null.
154
// If neither value exists, return 0 (equal).
155
let comparatorResult = 0;
0 commit comments