Sort package names case-insensitively

Closes #3