Brings the spatial and temporal structure of MAgPIE objects in the right
order. This function is especially useful when you create new MAgPIE objects
as the order typically should be correct for MAgPIE objects.
Usage
magpiesort(x)
Value
The eventually corrected MAgPIE object (right order in spatial in
temporal dimension)
Arguments
x
MAgPIE object which might not be in the right order.