Fix compilation

Drop implementation of PartialOrd, which is broken in rust