Fixed sort order in term query