The decreasing order of basic nature of Na2O (I); MgO(II) and Al2O3 (III) is
I > II > II
In the same period the basicity of the oxide decreases as move from the left to the right.
In other words, the hydroxides of Na is more than the hydroxide of Mg, which is in turn more basic than Al(OH)3