Fixed sorting. Whoops