Search the tags
Loop over the rows with a pair:
{orders} <li>{$number}</li> {/orders}