It did order Hamas to release its prisoners and not Israel, even though Hamas wasn't on trial and Israel has multiple times more children [1] in jail than all Hamas' prisoners.
Its a punt by an organization that has always been useless except to tut tut people and regimes the West doesn't like.
[1] I mean child as is used colloquially, not as "under 18" in the manner is often disingenuously used.