I want to sort a list of user names by the last name.
The value of the username is firstname + lastname as entered by the user at registration in a single field.

I have a node whose title field is the name of a station of a volunteer event.
This same node also has a field with multiple values These multiple values are the volunteers assigned to the station.
This field is a user reference. The value displayed is the username.

I also have a profile with a firstname field and a lastname field that is associated with the user or account.

I can't figure how to display volunteers by their lastname with Views.

Any suggestions?

Thanks

Comments

dawehner’s picture

I guess its not possible to sort by a string, but there internal by a substring. So i suggest to store the first name and the last name in two seperate fields. Than you can display both, but make the use the last name, as field for sort in the table configuration.

esmerel’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.