Hide user list container element before sorting

This attempts to fix #835 by hiding the user list container element using display:none; and then restoring it to its original display value after the sorting of the child nodes is completed.

I also added an explicit length test to see if there were any children even in a particular list (owners vs. activeusers) as a short circuit before doing any more costly operations unecessarily.