Code to sort the ROOT tree produced by GRSISpoon.