sort labels by key
parent
ac2c07925a
commit
d608bdc2f4
|
@ -252,6 +252,7 @@ function output(): void
|
||||||
foreach ($filteredData as $entry) {
|
foreach ($filteredData as $entry) {
|
||||||
$labels = [];
|
$labels = [];
|
||||||
if (isset($entry["labels"])) {
|
if (isset($entry["labels"])) {
|
||||||
|
ksort($entry["labels"]);
|
||||||
foreach ($entry["labels"] as $labelName => $labelValue) {
|
foreach ($entry["labels"] as $labelName => $labelValue) {
|
||||||
$labels[] =
|
$labels[] =
|
||||||
"$labelName=" .
|
"$labelName=" .
|
||||||
|
|
Loading…
Reference in New Issue