{"action":"closed","issue":{"url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/25","repository_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat","labels_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/25/comments","events_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/25/events","html_url":"https://github.com/aymericbeaumet/metalsmith-concat/issues/25","id":145523237,"number":25,"title":"Add sort option","user":{"login":"gchallen","id":445443,"avatar_url":"https://avatars.githubusercontent.com/u/445443?v=3","gravatar_id":"","url":"https://api.github.com/users/gchallen","html_url":"https://github.com/gchallen","followers_url":"https://api.github.com/users/gchallen/followers","following_url":"https://api.github.com/users/gchallen/following{/other_user}","gists_url":"https://api.github.com/users/gchallen/gists{/gist_id}","starred_url":"https://api.github.com/users/gchallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchallen/subscriptions","organizations_url":"https://api.github.com/users/gchallen/orgs","repos_url":"https://api.github.com/users/gchallen/repos","events_url":"https://api.github.com/users/gchallen/events{/privacy}","received_events_url":"https://api.github.com/users/gchallen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"aymericbeaumet","id":569243,"avatar_url":"https://avatars.githubusercontent.com/u/569243?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericbeaumet","html_url":"https://github.com/aymericbeaumet","followers_url":"https://api.github.com/users/aymericbeaumet/followers","following_url":"https://api.github.com/users/aymericbeaumet/following{/other_user}","gists_url":"https://api.github.com/users/aymericbeaumet/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericbeaumet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericbeaumet/subscriptions","organizations_url":"https://api.github.com/users/aymericbeaumet/orgs","repos_url":"https://api.github.com/users/aymericbeaumet/repos","events_url":"https://api.github.com/users/aymericbeaumet/events{/privacy}","received_events_url":"https://api.github.com/users/aymericbeaumet/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-03T17:49:12Z","updated_at":"2016-04-04T23:36:04Z","closed_at":"2016-04-04T23:36:04Z","body":"I'm not sure where I got the impression that if my `css` directory contained `01_foo.css` and `02_bar.css`. then `metalsmith-concat` would reliably produce the equivalent of `cat 01_foo.css 02_bar.css`. But apparently it does not. This makes the plugin hard to use in cases where you are trying to combine things that have dependencies without having to pass an array to the plugin.\r\n\r\nIt seems like a simple lexicographic sort after locating the files and before concatenating them wouldn't break anything and would enable this use pattern."}}