sphinx: fix ordering issue