pre-sort the sortable children