Sort the fetch recipe listing.

Review URL: https://codereview.chromium.org/1360493002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296782 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/fetch.py b/fetch.py
index 35e05d3..ea745d1 100755
--- a/fetch.py
+++ b/fetch.py
@@ -235,9 +235,12 @@
        --no-history       Perform shallow clones, don't fetch the full git history.
 
     Valid fetch recipes:""") % os.path.basename(sys.argv[0])
-  for fname in os.listdir(os.path.join(SCRIPT_PATH, 'recipes')):
-    if fname.endswith('.py'):
-      print '  ' + fname[:-3]
+
+  recipes_dir = os.path.join(SCRIPT_PATH, 'recipes')
+  recipes = [f[:-3] for f in os.listdir(recipes_dir) if f.endswith('.py')]
+  recipes.sort()
+  for fname in recipes:
+    print '  ' + fname
 
   sys.exit(bool(msg))