Fix ghc-pkg list --simple-output not being alphabetical (#8245).
authorNiklas Hamb├╝chen <mail@nh2.me>
Fri, 6 Sep 2013 14:23:24 +0000 (23:23 +0900)
committerAustin Seipp <aseipp@pobox.com>
Sat, 7 Sep 2013 00:54:32 +0000 (19:54 -0500)
commit021b1f8991850a20c2c8ace1c9282251e10fda03
treee005c1c2525cf3d1dd005346bc1d5608b957d2d0
parentb372e8eadcbb6abe00d7a7b1198b656a29dcb1ce
Fix ghc-pkg list --simple-output not being alphabetical (#8245).

It was sorted by version number so far.

I also added a sort to the normal output (without --simple-output)
since the source it comes from does not guarantee sortedness.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
utils/ghc-pkg/Main.hs