diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index ecfc38a5de083debc80201db00d933efbde3e53c..69a6f57c97601da9877527bc573e26e66f22b306 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -29,9 +29,6 @@
 ## Use cut to end of line by default.
 # set cut
 
-## Convert typed tabs to spaces.
-# set tabstospaces
-
 ## Set the line length for wrapping text and justifying paragraphs.
 ## If fill is negative, the line length will be the screen width less
 ## this number.
@@ -115,6 +112,9 @@
 ## Use this tab size instead of the default; it must be greater than 0.
 # set tabsize 8
 
+## Convert typed tabs to spaces.
+# set tabstospaces
+
 ## Save automatically on exit, don't prompt.
 # set tempfile