Fixed sort by count