ord for key lookup