Adding materials for sorting of arrays.