case-insensitive sorting of nicknames
also fixes #146