FIX incorrect sorting during fancy assignment

Bug reported by @perimosocordiae on #3264
Merge pull request #3881 from jnothman/fix-sort-indices

BUG: sparse: incorrect sorting in CSR fancy assignment