changed tinysort init with var instead of window. to prevent div#id override
documentation code
documentation style