You can also try tabulate:

you can turn it to datatable from red triangle menu:


With Summary table you might need to do some extra calculations either before or after creation of the Summary. Below is example doing them after:

Select either N Rows and either N(Green) or N(Red), right click on selected column and create new formula column:

Table after sorting, additional formulas and formatting:

-Jarmo