This Machine Color Sorts M&Ms Because Why Not?

Green are clearly the best.