ResultView widget - to display sortable query results