Function compareBoundaries

Compare two buckets by their boundaries. If a bucket does not have a boundary because it is empty, that bucket is first. If both buckets are empty the 0 is returned.

  • Parameters

    • a: Bucket
    • b: Bucket

    Returns number