function comparator(a, b)
    {
        return a._sortIndex !== b._sortIndex ? a._sortIndex - b._sortIndex : a.name().localeCompare(b.name());
    }
@param {!WebInspector.TracingModel.NamedObject} a
@param {!WebInspector.TracingModel.NamedObject} b