sort test works; sort broken