update myattend with sort control