Skip to content

The sorting of the column is in the wrong order #4257

Open

Description

@aclinos

Details for the issue

What did you do?

I am exploring a table of a database. The column ZLASTUPDATED has a sorting symbol. The sorting symbol has a triangle, widest at the top and narrowest at the bottom, and a 1 — I don't know why the 1 is here. This triangle means that the biggest values are at the top.

What did you expect to see?

The column is sorted consistently with the triangle : the biggest values are at the top.

What did you see instead?

The column is sorted in the wrong order : the smallest values are at the top.

Useful extra information

DB4S v3.12.2 [built for arm64-little_endian-lp64] on macOS 12.2 (darwin/21.3.0) [arm64]
using SQLCipher Version 4.5.1 community (based on SQLite 3.37.2)
and Qt 5.15.6

Nicolas Barbulesco

Activity

  1. chrisjlocke commented on Nov 11, 2026

    @chrisjlocke
    Member

    You're lucky. On WIndows, its just a question mark.

    image

    This has been raised before, and there was discussion about what the arrow meant - visually pointing down (so top to bottom) or having the greatest number at the top (so bottom to top). There was the usual 'we could have an option for it' but we didn't want the options dialog to be like of Word, where there are just oodles of options and tabs and tabs of pages of options....

  2. aclinos commented on Nov 11, 2026

    @aclinos
    Author

    Screen photo of DB Browser for SQLite :

    image

    Screen photo of Finder in MacOS 12.2.1 on the Mac who has DB Browser for SQLite :

    image

    Photo of Finder in Mac OS X 10.9.5 :

    photo-tri-mac-os-x-10-9-5

    Nicolas Barbulesco

  3. aclinos commented on Nov 11, 2026

    @aclinos
    Author

    You're lucky.

    :-)

    On WIndows, its just a question mark.

    ?

    NB

  4. chrisjlocke commented on Nov 11, 2026

    @chrisjlocke
    Member

    I don't know why the 1 is here

    Its the order in which the columns are sorted. You can sort by multiple columns. So column 1, then column 2, then column 3.

    I'm old school. I prefer the SQL to define the sort order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions