The metallic character increases as the size increases due to the fact that electrons farther from the nucleus are easier to remove and transfer to other elements. Hence metallic character increases as we move from right to left and from top to bottom. Since K is bigger than Na, Mg and Al, it the most metallic. Al being on the farthest left is least metallic of all.
The increasing order is:
Al<Mg<Na<K.