fix sort order of collection manager items (and make sure "no devices" and "open directory" options appear correctly)