From 9db082c24084aab9da7b274e69f4b4fa531a709c Mon Sep 17 00:00:00 2001 From: Sebastian Boldt Date: Fri, 26 Jan 2024 15:55:13 +0100 Subject: [PATCH] improved ordering --- Sources/Tonic/Chord.swift | 4 ++-- Tests/TonicTests/ChordTests.swift | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Sources/Tonic/Chord.swift b/Sources/Tonic/Chord.swift index 86ef76e..edc9f81 100644 --- a/Sources/Tonic/Chord.swift +++ b/Sources/Tonic/Chord.swift @@ -156,13 +156,13 @@ extension Chord { public func notes(octave: Int) -> [Note] { var notes = noteClasses.map { Note($0.letter, accidental: $0.accidental, octave: octave) - }.sorted() + } for step in 0..