Sum-functions of spacings of increasing order