Sort getc pb