diff --git a/lib/dotcom_web/components/planned_disruptions.ex b/lib/dotcom_web/components/planned_disruptions.ex index d536b04bfc..6cbd1a3549 100644 --- a/lib/dotcom_web/components/planned_disruptions.ex +++ b/lib/dotcom_web/components/planned_disruptions.ex @@ -85,7 +85,7 @@ defmodule DotcomWeb.Components.PlannedDisruptions do periods = Enum.sort_by( active_period, - &Kernel.elem(&1, 0), + fn {start, _} -> start end, DateTime )