I have a table and I would like to use the actions as a dropdown. all works 100% but after you sort the table the last 2 rows refuse to work. Here is my table code: