Properly sort the shit.