Update sorting words (in C)