JuliaLang/julia — comment on commit 38469029f39ef6839412060f070e34bf2e9150cc
File:  line 0
By ViralBShah:

You are right. I forgot to sort the spa indexes before storing, which can lead to all kinds of bugs. Does simply sorting indexes solve the bugs you are seeing?