[PD] ordering elements in a list