sorting the life threatening conditions