You are here

function multiblock_block_sort in MultiBlock 6

Same name and namespace in other branches
  1. 5 multiblock.module \multiblock_block_sort()
  2. 7 multiblock.module \multiblock_block_sort()

Custom sort based on info element of array.

1 string reference to 'multiblock_block_sort'
multiblock_general in ./multiblock.module
Page callback for the "Manage Block Instances page".

File

./multiblock.module, line 268

Code

function multiblock_block_sort($a, $b) {
  return strcmp($a['info'], $b['info']);
}