Coffee beans are graded and sorted by size, weight, and color using a series of screens and pneumatic separation. The Specialty Coffee Association of America grades coffee on a scale of 1 to 5 based on defects, with grade 1 being specialty coffee with no primary defects. Sieves are used to grade beans by size and the document outlines various grades for arabica and robusta coffee types.