Sigil has separate tools for the html (actual) and ncx (virtual) TOC. Both work, though I don't like the layout of the html TOC so I build my own. My template is here:
http://notjohnkdp.blogspot.com/2013/...-contents.html
Though it can be simplified in Sigil.