direction ordering