diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 1589f6f6a..2fc48a8a5 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -130,7 +130,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid "Stage", "Live" ); - static $default_sort = "Sort"; + static $default_sort = "\"Sort\""; /** * If this is false, the class cannot be created in the CMS. diff --git a/filesystem/File.php b/filesystem/File.php index 42ee58c7e..d2c5a1e51 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -10,7 +10,7 @@ */ class File extends DataObject { - static $default_sort = "Name"; + static $default_sort = "\"Name\""; static $singular_name = "File"; diff --git a/filesystem/Folder.php b/filesystem/Folder.php index f8167718d..7c97f43ef 100755 --- a/filesystem/Folder.php +++ b/filesystem/Folder.php @@ -7,7 +7,7 @@ */ class Folder extends File { - static $default_sort = "Sort"; + static $default_sort = "\"Sort\""; /* * Find the given folder or create it, recursively. diff --git a/security/PermissionRole.php b/security/PermissionRole.php index 7a3c39118..636e283f4 100644 --- a/security/PermissionRole.php +++ b/security/PermissionRole.php @@ -20,7 +20,7 @@ class PermissionRole extends DataObject { "Groups" => "Group", ); - static $default_sort = 'Title'; + static $default_sort = '"Title"'; static $singular_name = 'Role';