got ordering of sorts working