We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IterableExtension.sortedByDescending
package:collection
To sort GitHubIssues by their updatedAt field, descending:
GitHubIssue
updatedAt
issues.sortedByCompare((issue) => issue.updatedAt, (a, b) => b.compareTo(a));
This is inconvenient.
Introduce a sortedByDescending helper:
sortedByDescending
issues.sortedByDescending((issue) => issue.updatedAt);