This appears to be an old issue, but has not been resolved as of v. 6.3.4.2. I have to go to Data>Sort>Options, check the “Range contains column labels” box, then go to “Sort Criteria” and select the key I want to sort on, Ascending (or Descending), then “OK”.
But Calc doesn’t remember the “Range contains column labels” selection and the process must be repeated with every sort.
An answer to this question back in May of '18 included the statement “Column headers don’t get sorted. Calc knows not to include these.” Well, that may have been the case then, but does not appear to be the case now.
Appreciate any help!
Jim