The Preferential Acceleration of Heavy Nuclei in Solar Flares