Simplify sorting, thanks @diffoperator