How to create this Table of Contents

Can anyone help me with easiest way to make such table of content which stick to top when u scroll the post.


Here is example of this TOC