sophia: move cursor order argument to an object; add index padding