Fix bug where sort expressions didn't work on single column numpy arrays