db facade sort order support