Fixed sortings + table.
Fixed sortings + table.