From 3a26847818d35186a9418969f0dadc83cbaf9eb4 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 10 Oct 2022 13:59:08 +0200 Subject: [PATCH] Server search: sort on date --- .../email/BoundaryCallbackMessages.java | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java index 91729be9bc..cb190df0b2 100644 --- a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java +++ b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java @@ -53,6 +53,7 @@ import java.text.Normalizer; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; +import java.util.Comparator; import java.util.Date; import java.util.HashMap; import java.util.List; @@ -535,6 +536,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback