Force ids ordering