Visage said:I really do think you need to go back to first principles;
1. Write down your program in pseudocode (at first glance it seems like a basic bubble sort).
2. For each line of the pseudo code, write a function call that will perform the specified action for that line.
3. Fill in the individual function bodies.
Ok mate will try this today
Thanks again, any more advice is appreciated