Tweaks

Made it so you can also pass the sort criteria to the
newSortableGroup() function, rather than having to create the group and
then seperately setSort().