Sort rows even when there aren't rows.

Change-Id: Iceac12c490d4845036f78ac771e09c57f874e343
Fixes-Issue: CLIENT-504
Reviewed-on: http://gerrit.dmdirc.com/3395
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>