hacking to add order feauter for wght_unique_avg_yield function
hacking to add order feauter for wght_unique_avg_yield function