The time complexity would be O(nlog(n)), but it is an asymptotic complexity. If you want the actual count of the times it would run it would be a bit less than the upper bound.
What you can do to visualize this is trace down the whole thing for small values of N.
In this case, say if N = 8
i = 1: j = 0 => 2 times
j = 1
i = 2: j = 0 => 3 times
j = 1
j = 2
i = 4: j = 0 => 5 times
j = 1
j = 2
j = 3
j = 4
i = 8: j = [0,8] => 9 times
and so on for larger values of N...
So it is not increasing linearly but in some sort of exponential fashion and on plotting a graph for larger values and finding upper bound function you would prove that it has an upper bound of O(nlog(n)) if you are mathematically inclined to prove it.