Adding sort. The sorted row tag library won't output with the dialog box tag lib in it for some reason.