This was happening because the Directory Browser used a priority of
G_MAXINT for regular files, causing an integer overflow in the
comparator function here
(because some other plugins have negative
Question: Should there be a set of predefined priorities that could be used? Something like
FALLBACK, so plugin writers don't have to look up what other plugins are using?