function synonyms_select_sort_name in Synonyms 7
Supportive function.
It is used for string comparison within synonyms friendly select widget.
3 string references to 'synonyms_select_sort_name'
- synonyms_commerce_product_options_expand in synonyms_commerce/synonyms_commerce.module 
- Expand the options for commerce product select widget with synonyms.
- synonyms_select_entity_options in ./synonyms.module 
- Construct options array for entity reference synonyms friendly select list.
- synonyms_select_taxonomy_term_sort_name_options_recursive in ./synonyms.module 
- Supportive function to build taxonomy term options array sorted by name.
File
- ./synonyms.module, line 1428 
- Provide synonyms feature for Drupal entities.
Code
function synonyms_select_sort_name($a, $b) {
  return strcasecmp(reset($a->option), reset($b->option));
}