FFT returning values in wrong order

This is a discussion on FFT returning values in wrong order within the C# Programming forums, part of the General Programming Boards category; Well, you could count this as a continuation of my thread on the GD board, but now my question is ...

Unfortunately I am currently on a public computer without access to my code and without access to a C# compiler...so I can't really test it to see if it would work...although I could do a couple tests by hand really quick.

Does that seem like it could be the bug to you?

[edit]
After a quick test by hand it seems that by making that change, it fixed the bug.

It kind of confuses me though because every text my teacher has given me has said that w = e^(2 * pi * i / n), and not e^(-2 * pi * i / n)
[/edit]