So I need to write a procedure to organize a list. Since its hard to explain here is the example:
List:
((72 75 0) (0 0 10) (255 255 255) (0 10 10) (0 10 8)(50 100 255))
Return:
((0 0 10) (0 10 8) (0 10 10) (50 100 255) (72 75 0) (255 255 255))
procedure is called (sort-pts color-list)
first you organize it by the first number in the pair, if those are equal you look at the second number in the pair, then if those are equal you look at the third number in the pair.
Although I am really struggling with the whole thing the main concept is how do you remake the list in the procedure.
Thanks