You are here

function tinybrowser_rolesort in TinyBrowser 7

Sorting function for roles

2 string references to 'tinybrowser_rolesort'
tinybrowser_admin_submit in ./tinybrowser.module
Submit admin form
tinybrowser_sorted_roles in ./tinybrowser.module

File

./tinybrowser.module, line 1042

Code

function tinybrowser_rolesort($r1, $r2) {
  return $r1['weight'] - $r2['weight'];
}