     PublicKey,
     Regimen,
     RegimenInstance,
-    Sequence,
+    Repo,
     Sensor,
     SensorReading,
+    Sequence,
     Tool
   }
 

        group

      %{point_ids: unsorted, sort_type: sort_by} = point_group ->
        sorted =
          Repo.all(from(p in Point, where: p.id in ^unsorted))
          |> sort_points(sort_by)
          |> Enum.map(&Map.fetch!(&1, :id))

        %{point_group | point_ids: sorted}
    end
  end


  """

  alias FarmbotCore.Asset.{
    CriteriaRetriever,
    Device,
    DeviceCert,
    FarmEvent,
    FarmwareEnv,
    FarmwareInstallation,
    FbosConfig,
    FirmwareConfig,
    FirstPartyFarmware,
    Peripheral,
    PinBinding,
    Point,
