Sort List conflict, a…z versus A…Z

Discuss the spreadsheet application
Locked
LeroyTennison
Posts: 133
Joined: Sun Dec 20, 2009 8:12 am

Sort List conflict, a…z versus A…Z

Post by LeroyTennison »

Environment: OpenOffice Calc 4.13 on Linux (Kubuntu 24.04 LTS)
First, turn off Tools->Cell Contents->AutoInput
Second, create one sort list: 'a' through 'z'(lower case)
Third, create a second sort list: 'A' through 'Z'(All Caps)
Fourth, key in A through C in cells A1 through C1
Fifth, select A1:C1
Sixth, move the cursor to the bottom-right corner of C1 and drag to the right

Observe that the created values are lower case

Is this a bug I just have to live with or is there something I can do to get Calc to recognize case sensitivity?
Last edited by MrProgrammer on Mon Jan 19, 2026 12:23 am, edited 2 times in total.
Reason: Edited topic's subject to show lists
Apache OpenOffice 4.1.2 on Linux (Ubuntu 14.04 LTS)
User avatar
robleyd
Moderator
Posts: 5528
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Soert List conflict

Post by robleyd »

Why do you need sort lists a-z and A-Z? Without the unnecessary list the drag duplicates column 1 exactly.

Note that Ctrl+Drag will achieve what you seem to require.
Slackware 15 (current) 64 bit
Apache OpenOffice.1.16
LibreOffice 26.8.0.3; SlackBuild for 26.8.0 by Eric Hameleers
-----------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
User avatar
keme
Volunteer
Posts: 3799
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Sort List conflict

Post by keme »

The elements of a custom sort list are treated as identifiers. The identifier status seems to override the data element status in some situations (perhaps whenever applicable; I didn't test extensively).
Identifiers in Calc are not case sensitive.
When two sort lists carry the same identifiers, the first matching list will be used. If you create the uppercase list first, you will find that the autofill results from dragging will be uppercase.
User avatar
MrProgrammer
Moderator
Posts: 5470
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Sort List conflict

Post by MrProgrammer »

LeroyTennison wrote: Sat Jan 17, 2026 7:53 am Observe that the created values are lower case
OK, but you can make them upper case with Format → Change case → UPPERCASE.

It's surprising that sort lists are not locale dependent, since the examples (days of the week and months of the year) certainly would be. However I can't see that Options dialog allows sort lists to be associated with a locale.

If this solved your problem please go to your first post use the Edit ✏️ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
LeroyTennison
Posts: 133
Joined: Sun Dec 20, 2009 8:12 am

Re: Sort List conflict

Post by LeroyTennison »

Thanks, that is an option, I guess I'll live with it.
Apache OpenOffice 4.1.2 on Linux (Ubuntu 14.04 LTS)
Locked