diff --git a/config/config.sample.php b/config/config.sample.php
index 432569f12a926233ce06219cf30c87c07fb5ace0..743d76aae35edcc7efcebb2e1b848f0f5824cf5b 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -54,12 +54,6 @@ $CONFIG = array(
  */
 'passwordsalt' => '',
 
-/**
- * The hashing cost used by hashes generated by ownCloud
- * Using a higher value requires more time and CPU power to calculate the hashes
- */
-'hashingCost' => 10,
-
 /**
  * Your list of trusted domains that users can log into. Specifying trusted
  * domains prevents host header poisoning. Do not remove this, as it performs
@@ -79,16 +73,6 @@ $CONFIG = array(
  */
 'datadirectory' => '/var/www/owncloud/data',
 
-/**
- * Override where ownCloud stores temporary files. Useful in situations where
- * the system temporary directory is on a limited space ramdisk or is otherwise
- * restricted, or if external storages which do not support streaming are in
- * use.
- *
- * The web server user must have write access to this directory.
- */
-'tempdirectory' => '/tmp/owncloudtemp',
-
 /**
  * The current version number of your ownCloud installation. This is set up
  * during installation and update, so you shouldn't need to change it.
@@ -139,20 +123,6 @@ $CONFIG = array(
  */
 'dbtableprefix' => '',
 
-/**
- * Additional driver options for the database connection, eg. to enable SSL
- * encryption in MySQL.
- */
-'dbdriveroptions' => array(
-	PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
-),
-
-/**
- * sqlite3 journal mode can be specified using this config parameter - can be
- * 'WAL' or 'DELETE' see for more details https://www.sqlite.org/wal.html
- */
-'sqlite.journal_mode' => 'DELETE',
-
 /**
  * Indicates whether the ownCloud instance was installed successfully; ``true``
  * indicates a successful installation, and ``false`` indicates an unsuccessful
@@ -974,6 +944,24 @@ $CONFIG = array(
 	),
 ),
 
+/**
+ * All other config options
+ */
+
+/**
+ * Additional driver options for the database connection, eg. to enable SSL
+ * encryption in MySQL.
+ */
+'dbdriveroptions' => array(
+	PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
+),
+
+/**
+ * sqlite3 journal mode can be specified using this config parameter - can be
+ * 'WAL' or 'DELETE' see for more details https://www.sqlite.org/wal.html
+ */
+'sqlite.journal_mode' => 'DELETE',
+
 /**
  * Database types that are supported for installation.
  *
@@ -991,8 +979,20 @@ $CONFIG = array(
 ),
 
 /**
- * All other config options
+ * Override where ownCloud stores temporary files. Useful in situations where
+ * the system temporary directory is on a limited space ramdisk or is otherwise
+ * restricted, or if external storages which do not support streaming are in
+ * use.
+ *
+ * The web server user must have write access to this directory.
  */
+'tempdirectory' => '/tmp/owncloudtemp',
+
+/**
+ * The hashing cost used by hashes generated by ownCloud
+ * Using a higher value requires more time and CPU power to calculate the hashes
+ */
+'hashingCost' => 10,
 
 /**
  * Blacklist a specific file or files and disallow the upload of files