Which method really works if search results listing (doesn't matter, simple search or advanced one, both are the same) should be sorted by Last name, not by Contact ID? Things we've tried so far (none works):
- "Include Order By Clause" radio button at Administer -> Customize Data and Screens -> Search Preferences (per this suggection)
- Individual Sort Name Format at yoursite/civicrm/admin/setting/preferences/display?reset=1 per this suggestion
- Sort name checked in the DB, no influence on search results display.
Guess there should be some kind of "easy fix" like adding "ORDER BY LAST_NAME DESC" somewhere among templates. Or we need to go deeper into hooks/custom extension system?