add sorting to user table that doesnt work