My goal is that I want to sort my data if it is still ACTIVE or INACTIVE. But the result I\'ve got is that if I click active it only shows the active data and when inactive