diff --git a/app/Support/Chart/Category/FrontpageChartGenerator.php b/app/Support/Chart/Category/FrontpageChartGenerator.php index 3ef9a92fb9..39e4fcf787 100644 --- a/app/Support/Chart/Category/FrontpageChartGenerator.php +++ b/app/Support/Chart/Category/FrontpageChartGenerator.php @@ -98,7 +98,7 @@ class FrontpageChartGenerator // sort temp array by amount. $amounts = array_column($tempData, 'sum_float'); - array_multisort($amounts, SORT_DESC, $tempData); + array_multisort($amounts, SORT_ASC, $tempData); $currencyData = $this->createCurrencyGroups($tempData);