Development of methodological framework for XRF sensor based ore sorting utilizing machine learning approaches