I am currently writing a piece of code that will order complex numbers, however I am not sure how to order them. For example, if I am given the numbers: 6, 3+4i, -4, 1+i and 0, how would these be ordered?
Is it sufficient just to take the magnitude of each number and order them that way?
Thanks for the help.