Sort outgoing colleciton by updation time (#1419)
This commit is contained in:
commit
b8b979078d
1 changed files with 3 additions and 0 deletions
|
@ -359,6 +359,9 @@ class CollectionsService {
|
|||
incoming.sort((first, second) {
|
||||
return second.updationTime.compareTo(first.updationTime);
|
||||
});
|
||||
outgoing.sort((first, second) {
|
||||
return second.updationTime.compareTo(first.updationTime);
|
||||
});
|
||||
return SharedCollections(outgoing, incoming, quickLinks);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue