ADD: Sort classes alphabetically by default

Just a simple enhancement that makes longer lists of classes much easier to use.
This commit is contained in:
Tom Densham 2013-11-12 09:41:41 +00:00
parent 9abd92bd7f
commit e9a7cdc691

View File

@ -94,6 +94,8 @@ class GridFieldAddNewMultiClass implements GridField_HTMLProvider, GridField_URL
$result[$class] = $title;
}
asort($result);
return $result;
}