Support for KinFit sorting algorithm