I'm using desktop-file-utils 0.22 and the manpage for update-desktop-database contains the following: "The order of the desktop files found for a MIME type is not significant. Therefore, an external mechanism must be used to determine what is the preferred desktop file for a MIME type." It is not unlikely that an application will use the first desktop entry in the mime database if a related entry in [Default Applications] is not set. In the worst case this means 2 systems with the same desktop files could generate different cached mime database which could result in different default desktop entries used for some applications. Maybe it would be useful if a sorting here is guaranteed. A simple sorting by filename or something else should not hurt.
Sorry for the noise, reassigning to new maintainer.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/desktop-file-utils/issues/3.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.