The Table Visual has its default sorting behavior. But you can manually sort by each column by clicking on its header to toggle ascending or descending order.
https://powerbi.microsoft.com/en-us/guided-learning/powerbi-learning-3-6-create-tables-matrixes/