dag: use a consistent sort order when selecting commits
commit4e7f11187f760b1597f39c0af7eaf8367c52d37a
authorDavid Aguilar <davvid@gmail.com>
Tue, 28 Feb 2023 07:59:36 +0000 (27 23:59 -0800)
committerDavid Aguilar <davvid@gmail.com>
Tue, 28 Feb 2023 08:01:07 +0000 (28 00:01 -0800)
treedef4728d2370eab5a9f768f1f43039a4950f3acc
parentfeb7527328a7a21f2d0b688048308228de4a7786
dag: use a consistent sort order when selecting commits

Sort commits by generation to ensure consistent behavior when selecting
multiple commits in the tree and graph views.

Related-to: #1297
Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/dag.py
cola/widgets/diff.py