The lengths of the sticks can be arranged in the nondecreasing series $(a_1,a_2,...,a_{12})$.
The shortest length is $1$, so we can say, that in this bag there are two sticks with length $1$, so $a_1=a_2=1$
Now we can construct next pieces by taking two longest (last) sticks, summing their lengths and adding $1$ to obtain the smallest integer number larger than the sum of two other integers:
$$a_{k+2}=a_k+a_{k+1}+1$$
we have then:
$$a_{k+2}>a_k+a_{k+1} \geq a_i+a_j \,\,\,(i
The series is then
$$(1,1,3,5,9,15,25,41,67,109,177,287)$$
We can also say, that the degenerate triangles doesn't count as triangles in this context. In this case we don't have to add $1$ to the lengths of two sticks in forst formula, so we have:
$$a_{k+2}=a_k+a_{k+1}$$
and this is the recursive formula for Fibonacci series:
$$(1,1,2,3,5,8,13,21,34,55,89,144)$$