Skip to content

Commit

Permalink
[Indices] Sort indices list by index names ASC
Browse files Browse the repository at this point in the history
  • Loading branch information
rbayet committed Sep 4, 2023
1 parent bc8fd2f commit 7a71d14
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public function getElasticSuiteIndices($params = []): array
$this->elasticsuiteIndices[$name] = $aliases ? key($aliases['aliases']) : null;
}
}
ksort($this->elasticsuiteIndices, SORT_STRING | SORT_NATURAL);
}

return $this->elasticsuiteIndices;
Expand Down

0 comments on commit 7a71d14

Please sign in to comment.