added na checking to orderof