Validate selections in Sorting dialog

Only permit Ascending/Descending to be selected if a sort column has
been picked.

Bug # 9902

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Merge pull request #1449 from opf/feature/sorting-dialog-validation

Sorting dialog validation