OAK-1263 implemented the insert in descending order
OAK-1263 implemented the query side of descending order