remove deprecated lexical_ordering() usage