diff --git a/src/Trend.php b/src/Trend.php index 5a2c37b..02fb3a7 100755 --- a/src/Trend.php +++ b/src/Trend.php @@ -140,6 +140,7 @@ public function mapValuesToDates(Collection $values): Collection return $values ->merge($placeholders) ->unique('date') + ->sort() ->flatten(); }