Add charts sorting