Key Sorting Options

Forgive me for being a little slow on this one but what is the difference between sorting by similarity and pitch distance when it comes to key?

No worries, I worked it out by reading up on circle of fifths

to clarify, do you mean sorting by BPM versus sorting by key?