Sort face search response most recent first
This commit is contained in:
parent
a949c103d2
commit
d6f34d00c2
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ class FaceSearchManager {
|
|||
photos.add(photo);
|
||||
}
|
||||
}
|
||||
photos.sort((first, second) {
|
||||
return second.createTimestamp.compareTo(first.createTimestamp);
|
||||
});
|
||||
return photos;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue