This exercise is from Jerry Bergonzis book "Melodic Structures". In the book Bergonzi splits the scale up into 3 different parts being:
1-5 = Major/dominant 1,2,3,5 and minor 1,3,4,5
5-9 = Major/dominant 5,6,7,9 and minor 5,7,8,9
9-13 = Major/dominant 9,10,11,13 and minor 9,11,12,13
The four note groupings (tetrachords) can be arranged in 24 different ways called "permutations"
In this example I've taken the chord progression to the jazz standard "Nobody Else But Me" and applied this 1-5 grouping on all the chords:
Major/dominant 2,3,1,5 and minor 3,4,1,5
Link to YouTube video - a lot of talking before I get to actually playing the thing