Sort displayed addons (bnc#888567)

- Ready to be merged
I have updated the code to put the unknown (`nil` or `""`) at the end.

IMHO raising an exception is not needed, the value is used just for sorting, it's not a critical problem, you can still register it even with invalid product type data. No need to scare users with error popups...