diff --git a/dotdrop/config.py b/dotdrop/config.py index be5b607..7c7629d 100644 --- a/dotdrop/config.py +++ b/dotdrop/config.py @@ -216,7 +216,9 @@ class Cfg: """ returns a list of dotfiles for a specific profile """ if profile not in self.prodots: return [] - return sorted(self.prodots[profile], key=lambda x: x.key, reverse=True) + return sorted(self.prodots[profile], + key=lambda x: str(x.key), + reverse=True) def get_profiles(self): """ returns all defined profiles """