Application ordering

The suggested algorithm for listing the applications associated to a given mimetype is: