You are here

function _variable_realm_sort in Variable 7

Order realm names by weight.

1 string reference to '_variable_realm_sort'
variable_realm_list in variable_realm/variable_realm.module
Get list of all available realms ordered by default weight.

File

variable_realm/variable_realm.module, line 198
Variable API module - Realms

Code

function _variable_realm_sort($a, $b) {
  return _variable_realm_weight($a) - _variable_realm_weight($b);
}