smartplaylist: Respect sort terms in queries.