Index: fish/Makefile.in
===================================================================
--- fish.orig/Makefile.in	2015-07-18 21:31:21.861175352 +0200
+++ fish/Makefile.in	2015-07-18 21:31:21.857175279 +0200
@@ -329,7 +329,7 @@
 
 doc_src/commands.hdr:$(HELP_SRC) doc_src/commands.hdr.in
 	-rm command_list.tmp command_list_toc.tmp $@
-	for i in `printf "%s\n" $(HELP_SRC)|sort`; do \
+	for i in `printf "%s\n" $(HELP_SRC) | LC_ALL=C sort`; do \
 		echo "<hr>" >>command_list.tmp; \
 		cat $$i >>command_list.tmp; \
 		echo >>command_list.tmp; \
@@ -350,7 +350,7 @@
 	# The first sed command captures the page name, followed by the description
 	# The second sed command captures the command name \1 and the description \2, but only up to a dash
 	# This is to reduce the size of the TOC in the command listing on the main page
-	for i in $(HDR_FILES:index.hdr=index.hdr.in); do\
+	for i in `echo $(HDR_FILES:index.hdr=index.hdr.in) | xargs -n1 | LC_ALL=C sort`; do\
 		NAME=`basename $$i .hdr`; \
 		NAME=`basename $$NAME .hdr.in`; \
 		$(SED) <$$i >>toc.tmp -n \
