Bug 167602 - Classification of elements. query table, form
Summary: Classification of elements. query table, form
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-20 08:20 UTC by KFDM
Modified: 2025-08-05 07:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KFDM 2025-07-20 08:20:24 UTC
Description:
Items are not sorted alphabetically.
I have the impression that the 0 is not taken into account.


Steps to Reproduce:
Create queries on LibreOffice 24.

Actual Results:
I have the impression that the 0 is not taken into account.

example query name:

Classification by Libreoffice Base (illogical)
R_ALBUM_B01
R_ALBUM_B10
R_ALBUM_B11
R_ALBUM_B13
R_ALBUM_B0013
R_ALBUM_B14
R_ALBUM_B15
R_ALBUM_B0016

Expected Results:
Alphabetical classification (logical)

R_ALBUM_B0013
R_ALBUM_B0014
R_ALBUM_B0016
R_ALBUM_B01
R_ALBUM_B10
R_ALBUM_B11
R_ALBUM_B13
R_ALBUM_B14


Reproducible: Couldn't Reproduce


User Profile Reset: No

Additional Info:
Include the number 0.
Comment 1 Robert Großkopf 2025-07-20 13:57:11 UTC
Sorting depends on the collation the database will use.
So: Which database do you use?
→ internal HSQLDB?
→ internal FIREBIRD?
→ any external database?

Would be good to upload an example as attachment here.
Comment 2 KFDM 2025-07-20 20:33:00 UTC
(In reply to Robert Großkopf from comment #1)
> Sorting depends on the collation the database will use.
> So: Which database do you use?
> → internal HSQLDB?
> → internal FIREBIRD?
> → any external database?
> 
> Would be good to upload an example as attachment here.

LibreOffice Version 24.8.6.2
Comment 3 m_a_riosv 2025-07-20 21:39:35 UTC
Please attach a sample file, reduce the size as much as possible without private information, 
and paste the information in Menu/Help/About LibreOffice, there is a copy icon.

Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 4 Alex Thurgood 2025-07-22 11:23:30 UTC
@KFDM : please specify the type of embedded database you are using, either embedded HSQLDB, or embedded Firebird DB.

If you are not using an embedded database, please provide the db engine/server you are connecting to, the manner in which you connect (i.e. database driver conenction type, version and configuration), and a sample table or SQL dump with data content, and which illustrates the problem in LibreOffice.
Comment 5 Alex Thurgood 2025-07-22 11:25:25 UTC
See also bug 124054
Comment 6 KFDM 2025-07-22 20:06:17 UTC
(In reply to Alex Thurgood from comment #4)
> @KFDM : please specify the type of embedded database you are using, either
> embedded HSQLDB, or embedded Firebird DB.
> 
> If you are not using an embedded database, please provide the db
> engine/server you are connecting to, the manner in which you connect (i.e.
> database driver conenction type, version and configuration), and a sample
> table or SQL dump with data content, and which illustrates the problem in
> LibreOffice.

The database comes directly from Libre Office.
Without going through a server (directly on the PC)
PC configuration:
Processor:    13th Gen Intel(R) Core(TM) i5-13400F   2.50 GHz
RAM:    32.0 GB (31.8 GB usable)
System type:    64-bit operating system, x64 processor
Edition:     Windows 11 Professional
Version:    23H2
Comment 7 Alex Thurgood 2025-07-22 21:30:34 UTC
(In reply to KFDM from comment #6)
> (In reply to Alex Thurgood from comment #4)

> The database comes directly from Libre Office.
> Without going through a server (directly on the PC)
> PC configuration:
> Processor:    13th Gen Intel(R) Core(TM) i5-13400F   2.50 GHz
> RAM:    32.0 GB (31.8 GB usable)
> System type:    64-bit operating system, x64 processor
> Edition:     Windows 11 Professional
> Version:    23H2

Cela n'est malheureusement pas la réponse à la question posée.
Il s'agit donc a priori d'une base de données dite "embarquée", c-a-d soit Hsqldb, soit Firebird. Laquelle de ces deux?

Il nous faudrait un échantillon de cette base avec la table problématiquevet données de test, sinon comment va-t-on savoir comment tu l'as définie ?
Comment 8 KFDM 2025-08-05 07:30:42 UTC
(In reply to Alex Thurgood from comment #7)
> (In reply to KFDM from comment #6)
> > (In reply to Alex Thurgood from comment #4)
> 
> > The database comes directly from Libre Office.
> > Without going through a server (directly on the PC)
> > PC configuration:
> > Processor:    13th Gen Intel(R) Core(TM) i5-13400F   2.50 GHz
> > RAM:    32.0 GB (31.8 GB usable)
> > System type:    64-bit operating system, x64 processor
> > Edition:     Windows 11 Professional
> > Version:    23H2
> 
> Cela n'est malheureusement pas la réponse à la question posée.
> Il s'agit donc a priori d'une base de données dite "embarquée", c-a-d soit
> Hsqldb, soit Firebird. Laquelle de ces deux?
> 
> Il nous faudrait un échantillon de cette base avec la table problématiquevet
> données de test, sinon comment va-t-on savoir comment tu l'as définie ?

Base embarqué = HSQLDB.