fix sorting / almost