normalize sortBy so it is always an array

This fix is required when sortBy is set to a string in the constructor and then the user shift-clicks on a second column.