Sort icons in table header React

Hello, can someone please explain me how can to make sort icons in header table. I am working with react, I have table and sort functions that works fine just need help with sort icons, how can I add sort icons in table header?

You can just use the Unicode up/down triangles & style with CSS (you can squash them vertically a little bit using transform for example), they’re normally fine