R Table Sort By Frequency