Complex magnetic ordering as a driving mechanism of multifunctional properties of Heusler alloys from first principles