A modified logrank test for censored survival data under order restrictions