Sort mimetypes by comment only when necessary
The list of supported mimetypes is quite long and sorting them by
comment is a non-negligible operation.
Now we do it only when the mimetypes are shown in user-visible dialogs.
CCBUG: 372999
elvisangelaccio | Nov 28 2016, 11:23 AM |