How do Earth materials get sorted in nature