I am trying to order a playlist by certain restrictions. I have already written the code to check if a certain playlist does in fact follow these guidelines, but would like to write a program to order a playlist a certain way, then check it, order it a different way, check it, etc. until all possible orders have been used or it finds an order that fits my set rules. I absolutely cannot figure out how to write code for something like this since I want it general to apply to any playlist, so first I have to have an undetermined number of songs ordered, but also, how do I get it to go through every possible combination? Thanks in advance, I've been going crazy with this.
Duffey
Duffey