let rec find_diffs l =
let loc,_ = List.hd (List.hd l) in
let hds = List.map (fun x -> snd (List.hd x)) l in
- let uniq_hds = HExtlib.list_uniq hds in
+ let uniq_hds = HExtlib.list_uniq (List.sort Pervasives.compare hds) in
if List.length uniq_hds > 1
then loc, uniq_hds