Adjust -dematerialize for intended order