Update for changes to Julia sorting functionality

See JuliaLang/julia@e87fd362cf2fe6b7035cc2a3216316aa6a7d884f

This should fix #266. I think I got everything, but someone should double-check.