Update assignment sorted