twig: calculate and sort JSON-data

JSON-data:
{
"duel_id": 2, "name": "john",
"xp": 5214, "level": 8,
"xp_percentage": 0.56247, "games": 12,
"wins": 6,
"champions": [
{
"champions_id": 25, "champions_name_key": "hero",
"damagedealt": "317", "damagetaken": "458",
"matchtime": 612, "games": 98,
"wins": 2, "xp": 234
},
{
"champions_id": 2775, "champions_name_key": "htgjero",
"damagedealt": "31777", "damagetaken": "5458",
"matchtime": 6512, "games": 958,
"wins": 52, "xp": 2354
}
]
}


twig-code for that JSON, incl. calculating min&sec instead of sec. And sorting data:

[jsoncontentimporterpro url="http://..." parser=twig]
xp: {{xp}}, xp_percentage: {{xp_percentage}}
{% for ch in champions |reverse(champions_id) %}
champions_id: {{ch.champions_id}}:
champions.matchtime: {{ch.matchtime}}
({% set mt_min= (ch.matchtime/60)|round %}
min: {{mt_min}} sec: {{ch .matchtime-60*mt_min}})
{% endfor %}
[/jsoncontentimporterpro]