Bug 271652

Summary: Contacts cannot be sorted by names other than "Full Name"
Product: [Applications] kaddressbook Reporter: Picobyte <picobyte>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: denis.prost, martin.burnicki, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Picobyte 2011-04-25 00:12:24 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

Currently, the only way to sort contacts by their name is to select the "Full Name" column, since others such as "Last Name" don't exist anymore. The only way to sort contacts by their last name would be to display them as "LastName, FirtName", however, this is impracticable, since it would also change the names appearance in e. g. outgoing emails.
Additionally, it is possible to select different display styles for the name of each contact. In such cases it is impossible to have the contacts sorted in a meaningful way since sorting by first and last name is mixed.

Reproducible: Always
Comment 1 Tobias Koenig 2011-04-30 12:09:46 UTC
Hej,

right click on the header, select 'Family Name', click on the Family Name column header -> contacts are sorted by last name.

Ciao,
Tobias
Comment 2 Denis Prost 2011-06-18 15:58:44 UTC
(In reply to comment #1)
> Hej,
> 
> right click on the header, select 'Family Name', click on the Family Name
> column header -> contacts are sorted by last name.
> 
> Ciao,
> Tobias

I'm facing the same problem with KDE 4.6.3, when right clicking on the header, no "family name" option, only birthdate, personal address, and some others.
So for me, this is not fixed, unless I'm missing something...
Comment 3 Martin Burnicki 2016-01-06 13:23:50 UTC
There is still no other option than the one mentioned in comment #1. :-(

The column showing the "display name" is always there and can_t be disabled, so another column with "family name" only needs to be enabled in addition.

A much more user friendly approach would be to able to select *which* name format should be shown in the primary column, i.e. "display name" or "last name, given name", etc., and then just sort by this format.

This is also how e.g. Thunderbird/SOGO and the contact editor in Android do it, and it's much more user-friendly and intuitive.