You are here

function _domain_id_sort in Domain Access 6.2

Same name and namespace in other branches
  1. 5 domain.module \_domain_id_sort()
  2. 7.2 domain.module \_domain_id_sort()

Helper sort function

File

./domain.module, line 951
Core module functions for the Domain Access suite.

Code

function _domain_id_sort($a, $b) {
  return $a['domain_id'] < $b['domain_id'] ? -1 : 1;
}