DO NOT USE THIS INSTANCE FOR LIVE DATA!!!!
The NTH_VALUE function creates unique of order by values before sorting.