Hi, It is possible to sort a Pivot Table by a row name that it's not in the table but in the data?
I have this data:
Array (
[0] => Array
    (  [year] => 2019
        [month] => January
        [month_order] => 1
        [amount] => 92
    )
[1] => Array
    (  [year] => 2019
        [month] => January
        [month_order] => 1
        [amount] => 120
    )
[2] => Array
    (   [year] => 2019
        [month] => January
        [month_order] => 1
        [amount] => 101
    )
[3] => Array
    (   [anio] => 2019
        [month] => February
        [month_order] => 2
        [amount] => 75
    )
[4] => Array
    (   [year] => 2019
        [month] => February
        [month_order] => 2
        [amount] => 90
    )
[5] => Array
    (   [year] => 2019
        [month] => February
        [month_order] => 2
        [amount] => 100
    )
[6] => Array
    (   [year] => 2019
        [month] => March
        [month_order] => 3
        [amount] => 150
    )
)
And i need to group by "year" and "month", but order by "month_order".
I hope you can unsderstand. Thanks!