Sort face search response most recent first

This commit is contained in:
Vishnu Mohandas 2020-06-06 17:30:18 +05:30
parent a949c103d2
commit d6f34d00c2

View file

@ -54,6 +54,9 @@ class FaceSearchManager {
photos.add(photo);
}
}
photos.sort((first, second) {
return second.createTimestamp.compareTo(first.createTimestamp);
});
return photos;
}