fixed multi-sorting. I had apparently broke it.