diff --git a/kiln-controller.py b/kiln-controller.py index cf01d943..74a6e189 100755 --- a/kiln-controller.py +++ b/kiln-controller.py @@ -268,7 +268,7 @@ def get_profiles(): with open(os.path.join(profile_path, filename), 'r') as f: profiles.append(json.load(f)) profiles = normalize_temp_units(profiles) - return json.dumps(profiles) + return json.dumps(sorted(profiles, key=lambda x: x["name"])) def save_profile(profile, force=False):