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 7850daa commit 5474bd7Copy full SHA for 5474bd7
src/PhpSpreadsheet/Collection/Cells.php
@@ -165,6 +165,9 @@ public function getSortedCoordinates(): array
165
if (!$this->indexSorted) {
166
asort($this->index);
167
$this->indexSorted = true;
168
+ // Clear unsorted cache
169
+ $this->indexKeysCache = null;
170
+ $this->indexValuesCache = null;
171
}
172
173
// Build or rebuild index keys cache
@@ -185,6 +188,9 @@ public function getSortedCoordinatesInt(): array
185
188
186
189
187
190
191
192
193
194
195
196
if ($this->indexValuesCache === null) {
0 commit comments