Initialize default sorting columns with 'sorting'.
Correctly detect presence of pid and sorting.