doc: reorder preimage functions