Skip to content

Enhancement: Add sort-packages option which allows sorting of packages#3549

Merged
Seldaek merged 1 commit intocomposer:masterfrom
localheinz:feature/sort-dependencies
Dec 13, 2014
Merged

Enhancement: Add sort-packages option which allows sorting of packages#3549
Seldaek merged 1 commit intocomposer:masterfrom
localheinz:feature/sort-dependencies

Conversation

@localheinz
Copy link
Copy Markdown
Contributor

Because OCD, that's why.

Personally, I find it a lot easier to spot things in a list when the list is sorted alphabetically.

@localheinz
Copy link
Copy Markdown
Contributor Author

Of course, if this were to be merged, I'd always do

$ composer require --sort-packages vendor/package

In other words, this should be the default! :trollface:

@Seldaek
Copy link
Copy Markdown
Member

Seldaek commented Dec 13, 2014

I'm ok merging this but I will suggest you use alias req='composer require --sort' :)

Seldaek added a commit that referenced this pull request Dec 13, 2014
Enhancement: Add sort-packages option which allows sorting of packages
@Seldaek Seldaek merged commit 2264a80 into composer:master Dec 13, 2014
@localheinz
Copy link
Copy Markdown
Contributor Author

@Seldaek

Awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants