Separate the wheat from the chaff

1. The act of determining what is important and what is not or what is good and what is bad.