Explicitly create the list_children() return object

This suppresses a PHP warning.
Add logic to list_children() to order by views

This is a bit meandering, but it's what's necessary without a
significant refactoring. Per #312.