syntax: use UFCS in the expansion of `#[deriving(Ord)]`

cc #18755

r? @alexcrichton 
cc @bjz 
Indentation... sorry!