From d763ce08c01b866fa91bacd5a370c3e77db9f320 Mon Sep 17 00:00:00 2001
From: Robin Ward <robin.ward@gmail.com>
Date: Wed, 10 Aug 2016 13:20:39 -0400
Subject: [PATCH] FIX: Travis failure

---
 lib/pretty_text.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pretty_text.rb b/lib/pretty_text.rb
index 85ba6df90b5..66792e18d8f 100644
--- a/lib/pretty_text.rb
+++ b/lib/pretty_text.rb
@@ -68,7 +68,7 @@ module PrettyText
         apply_es6_file(ctx, root_path, Regexp.last_match[2])
       elsif l =~ /\/\/= require_tree (\.\/)?(.*)$/
         path = Regexp.last_match[2]
-        Dir["#{root_path}/#{path}/**"].each do |f|
+        Dir["#{root_path}/#{path}/**"].sort.each do |f|
           apply_es6_file(ctx, root_path, f.sub(root_path, '')[1..-1].sub(/\.js.es6$/, ''))
         end
       end