function compare(x, y)
        {
            var t1 = x.creationTime || 0;
            var t2 = y.creationTime || 0;
            return t1 - t2 || x.id - y.id;
        }
@param {!WebInspector.PromiseDetails} x
@param {!WebInspector.PromiseDetails} y
@return {number}