Feels like there's too much mapping backward and forth..
Can't the request send "Modified" and descending=true/false , etc. to avoid some of this mapping?