You are here

function stringoverrides_admin_word_sort in String Overrides 6

Same name and namespace in other branches
  1. 7 stringoverrides.admin.inc \stringoverrides_admin_word_sort()

Sorts two words based on their original text.

1 string reference to 'stringoverrides_admin_word_sort'
stringoverrides_admin in ./stringoverrides.admin.inc
Menu callback for the String Overrides module to display its administration

File

./stringoverrides.admin.inc, line 356
Admin page callbacks for the String Overrides module.

Code

function stringoverrides_admin_word_sort($word1, $word2) {
  return strcasecmp($word1['original'], $word2['original']);
}