check ordering