fix broken single-field sort (broken in e479563244d207c5e2a9915bc526fda794aa073e)