score:1

Without seeing your code, I can only offer a very vague direction:

you may need a function that gets called, each time the viewer change sorting option. Inside the function, you will need to specify different accessor:

var update = function(_value){
  data.sort(function(a, b) { return b._value - a._value; })

  // add transition with the newly sorted data
}