Rules around line mumbering in tables

When one looks at a tables like say OEORDD Order details, it looks like the numbering starts at 32 and increments by 32.

However, we discovered the line numbering can be anything from 1 to 32

So what are the rules around this?

How do you know what the starting number and increments are?