allow sorting by number of charts