sorts the progress list after adding and editing it