flavor sort working