That is something you can control by sorting both the Main Report and subreport in the same order.
If 'Mobile' is the first value in the Main Report, qty for 'Mobile' should also be the first value in the Subreport. This way the array's first index will hold qty value for 'Mobile' and so on.
-Abhilash