Fixed readonly sorting inversion