Sort todos by completed & id