Makes sense, I am not sure how many operation `PreferencesManager.get("sortDirectoriesFirst")` does, but it might be better if it was saved as a variable or as you mention the prefixes too. I'll fix this.