debugging face sorting