Revert "added data_query_order_by function to data.rb"

This reverts commit 3b327485c1193b2f2052ffc020eb8a651c789026.
added data_query_order_by to data.rb