Sorting and classifying ashes or fly-ashes from the combustion chamber before further treatment