Freeze package listing in case insensitive order

Fixes #1602

This is also consistent with `pip list`'s behaviour.