I have implemented the TableView sorting when table header is clicked. We have another requirement to sort the table data by different options e.g. Name, Date, Size. I am looking for a way to show a dropdown where user can select a type and then sorting happens based on the type selected just like in finder:
Right now my interface looks like:
How do I achieve this in table header?