From 708a144c7ab1936bb73081cc552851186bea5ed1 Mon Sep 17 00:00:00 2001 From: Florent Cailhol Date: Thu, 24 Oct 2013 14:12:54 +0200 Subject: [PATCH] Sort example directories --- examples/_site/js/phaser-examples.js | 1 + examples/_site/js/phaser-sideview.js | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/_site/js/phaser-examples.js b/examples/_site/js/phaser-examples.js index cc91c19b2..67083539f 100644 --- a/examples/_site/js/phaser-examples.js +++ b/examples/_site/js/phaser-examples.js @@ -14,6 +14,7 @@ $(document).ready(function(){ directories.splice(directories.indexOf('basics'), 1); directories.splice(directories.indexOf('games'), 1); + directories.sort(); directories.unshift('basics', 'games'); directories.forEach(function(dir) diff --git a/examples/_site/js/phaser-sideview.js b/examples/_site/js/phaser-sideview.js index 9b34854a9..1c7278b4f 100644 --- a/examples/_site/js/phaser-sideview.js +++ b/examples/_site/js/phaser-sideview.js @@ -11,6 +11,7 @@ $(document).ready(function(){ directories.splice(directories.indexOf('basics'), 1); directories.splice(directories.indexOf('games'), 1); + directories.sort(); directories.unshift('basics', 'games'); directories.forEach(function(dir)