Assessing patients and sorting them into order of severity, giving priority to more seriously ill or injured patients.