Merge branch 'resource-ordering'

This commit is contained in:
Aleksandr Bogdanov 2015-03-15 12:21:21 +01:00
commit 5736f432be
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,10 @@ class HtmlCommand extends Command
array_push($assets, new FileAsset($fileInfo->getPathname()));
}
usort($assets, function(FileAsset $a, FileAsset $b){
return strcmp($a->getSourcePath(), $b->getSourcePath());
});
$collection = new AssetCollection(
$assets
);