Fixed a bug where I got the order wrong