How can I list a pivotfield with orientation xlColumnField in a specific custom order in c# : I pivot on a field Sport. Assume there are 4 sports (Tennis, Baseball, Softball, Football). When the pivot table is created I want the column labels to be displayed in a custom order. How can I do that in C#.

[enter image description here][1]


  [1]: https://i.stack.imgur.com/QaId4.png