Intelligent X-Ray Fluorescence Sorter