re-ordering material