From 9820ee82e62ca699ffa31ffae72737d1c3852ff4 Mon Sep 17 00:00:00 2001
From: owenbush <ojb@ukhhf.co.uk>
Date: Mon, 15 Jul 2019 10:50:53 -0600
Subject: [PATCH] Order event instances by their start date ascending

---
 src/EventInstanceListBuilder.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/EventInstanceListBuilder.php b/src/EventInstanceListBuilder.php
index 4cd5d863..75a47bad 100644
--- a/src/EventInstanceListBuilder.php
+++ b/src/EventInstanceListBuilder.php
@@ -143,7 +143,7 @@ class EventInstanceListBuilder extends EntityListBuilder {
    */
   protected function getEntityIds() {
     $query = $this->getStorage()->getQuery()
-      ->sort('changed', 'DESC');
+      ->sort('date__value', 'ASC');
 
     // Only add the pager if a limit is specified.
     if ($this->limit) {
-- 
GitLab