Add sort in chart settings