add function to determine whether the underlying output has the same ordering with order by
add function to determine whether the underlying output has the same ordering with order by

haojin2/peloton,yingjunwu/peloton,cmu-db/peloton,haojin2/peloton,ShuxinLin/peloton,ShuxinLin/peloton,vittvolt/peloton,malin1993ml/peloton,wangziqi2016/peloton,cmu-db/peloton,cmu-db/peloton,wangziqi2016/peloton,vittvolt/peloton,AngLi-Leon/peloton,ShuxinLin/peloton,AllisonWang/peloton,apavlo/peloton,phisiart/peloton-p3,phisiart/peloton-p3,AllisonWang/peloton,PauloAmora/peloton,prashasthip/peloton,PauloAmora/peloton,yingjunwu/peloton,vittvolt/peloton,apavlo/peloton,AllisonWang/peloton,malin1993ml/peloton,AllisonWang/peloton,yingjunwu/peloton,phisiart/peloton-p3,haojin2/peloton,cmu-db/peloton,AllisonWang/peloton,PauloAmora/peloton,vittvolt/peloton,PauloAmora/peloton,AngLi-Leon/peloton,prashasthip/peloton,vittvolt/15721-peloton,seojungmin/peloton,vittvolt/peloton,seojungmin/peloton,haojin2/peloton,vittvolt/15721-peloton,cmu-db/peloton,yingjunwu/peloton,prashasthip/peloton,vittvolt/15721-peloton,malin1993ml/peloton,seojungmin/peloton,AngLi-Leon/peloton,wangziqi2016/peloton,prashasthip/peloton,haojin2/peloton,AngLi-Leon/peloton,phisiart/peloton-p3,haojin2/peloton,phisiart/peloton-p3,ShuxinLin/peloton,vittvolt/15721-peloton,PauloAmora/peloton,yingjunwu/peloton,apavlo/peloton,vittvolt/peloton,vittvolt/15721-peloton,apavlo/peloton,seojungmin/peloton,prashasthip/peloton,PauloAmora/peloton,malin1993ml/peloton,seojungmin/peloton,prashasthip/peloton,AllisonWang/peloton,ShuxinLin/peloton,phisiart/peloton-p3,apavlo/peloton,apavlo/peloton,wangziqi2016/peloton,vittvolt/15721-peloton,AngLi-Leon/peloton,wangziqi2016/peloton,seojungmin/peloton,yingjunwu/peloton,AngLi-Leon/peloton,malin1993ml/peloton,wangziqi2016/peloton,malin1993ml/peloton,cmu-db/peloton,ShuxinLin/peloton