Sort behavior seems backwards

Hello, this seems like it may be a bug. The Outline > Sort Rows command in the menu does the same thing as the Row: Sort Ascending command, but ascending and descending seem swapped. If you have rows like:

1
2
3
4

Then sorting ascending — whether by highlighting the rows, or by putting the cursor in the parent — puts them in reverse order (4, 3, 2, 1). Sorting descending gives you (1, 2, 3, 4). Similarly with letters: ascending gives you (D, C, B, A) whereas descending gives you (A, B, C, D). The behavior is swapped from what I’d expect.

Thanks for your time!

(Edit: Sorry I forgot to mention, this is in Preview 265 that I noticed the behavior.)

1 Like

Oh, I found something. I’ve been unsuccessfully trying to reproduce this. Now I see that I think it works correctly if you select rows at the top level, but if you put those rows in a subtree and try to sort them you get the reverse behavior.

So yeah, I see the bug! And will fix.

That’s interesting. I get the same behavior whether they’re at the toplevel or if they have a parent.

CleanShot 20260311 at 094335

Anyway, thanks for looking into it.