Make sorting actually happen.