fix sorting post