functor (PQ : PQ->
  sig val sort : ('-> '-> int) -> 'a list -> 'a list end