Update base query with reversed sort order