Currently, the wikitables only allow custom forward sorting, but no custom reverse sorting. So, if you have for instance elements (forward sorted)
- A
- A,C
- A,D
- B
- C
- D
and you want reverse sorting to be
- D
- A,D
- C
- A,C
- B
- A
there is no way of doing that.
The MW code seems to be based on http://tablesorter.com , which does not support this. However, a fork of the code seems to allow this (see demo). Moving to Mottie's implementation or just importing the relevant part should be straightforward.
See [[:ro:Lista stațiilor de metrou din București]] for an example of where this would be useful. I would like to sort the stations by line (colum "Magistrale") and keep the stations that are both on the yellow and red lines together both on ascending and descending sort.