symfony/symfony — pull request #6593 by lmcd (2013-01-07 03:36:11+00:00)
Title: [Console] Sort autocomplete values alphabetically

I'm not sure if this is autocomplete matches should be sorted or not, so I've created a Pull Request to discuss. Either

a) Matches can be scrolled through (with arrow keys) in the order they are originally supplied in the `$autocomplete` argument. This way the developer could prioritise certain matches over others.
b) Matches are sorted alphabetically. This makes the experience a little bit better for the user as they can anticipate when an item is coming up.