i managed to get a solution of Spuds on the smf forum
it worked sort of apart from the gender icons aren't quite right so i'm looking into why but here's the coding for sorting the staff order out
There is really not a one glove for all here since the sort order is neither alphabetical nor numerical. The best thing to do is something like this.
find:
Code: [Select]
$staff_list = array();
$colorids = array();
replace with:
Code: [Select]
$staff_list = array();
$colorids = array();
$sortorder = array('Administrator', 'Senior Leader', 'Senior Moderator', 'Moderator', 'Tech Team');
The list will sort in order of the groups listed, so if you want a different order or have different group names then you will have to add / change them.
find:
Code: [Select]
if (in_array($row['id_member'], $admins))
$row['type'] = 1;
elseif (in_array($row['id_member'], $global_mods))
$row['type'] = 2;
else
$row['type'] = 3;
$staff_list[$row['id_member']] = array(
replace with:
Code: [Select]
$sort_key = array_search($row['group_name'],$sortorder);
if ($sort_key !== false)
$row['type'] = $sort_key + 1;
else
$row['type'] = count($sortorder) + 1;
/*
if (in_array($row['id_member'], $admins))
$row['type'] = 1;
elseif (in_array($row['id_member'], $global_mods))
$row['type'] = 2;
else
$row['type'] = 3;
*/
$staff_list[$row['type'] . '-' . ucwords($row['real_name'])] = array(
this just changes how the row['type'] is set, instead of by authority level its now by the order of the $sortorder list and then by the members name in for each 'group'
here's the link for the thread where it is at
http://www.simplemachines.org/community/index.php?topic=227599.3580page 180