FlowBoxSortFunc
A function to compare two children to determine which should come first.
param
child1
the first childparam
child2
the second childreturn < 0 if @child1 should be before @child2, 0 if they are equal, and 0 otherwise