asm-based sort fix. Actually tested now :P