     next()
   'return files from "test" directory with trailing slash': (test) ->
     test.expect 1
-    test.deepEqual importless.findAll("test/files/"), ['test/files/imported.less', 'test/files/test.less', 'test/files/test2.css']
+    actual = _.sortBy importless.findAll("test/files/")
+    expected = _.sortBy ['test/files/imported.less', 'test/files/test.less', 'test/files/test2.css']
+    test.deepEqual actual, expected
     test.done()
 
 exports['rename'] =

    next()
  'return array of dependencies in directory without imported files': (test) ->
    test.expect 2
    test.deepEqual importless.detectDependencies('test/files'), ['test/files/test.less', 'test/files/test2.less']
    test.ok fs.existsSync 'test/files/test2.less'
    test.done()
"use strict"
importless = require '../src/importless'
fs             = require 'fs'
_              =  require('grunt').util._


#
