Electronic Structure and Interplay of Atomic and Magnetic Orders of Alloys with Narrow $d$-Bands