A probabilistic method for ordering group of intervals