Premium calculation and ordering of risks by generalizing the stop-loss transform