modify sort