Change heap sort to avoid swap and instead overwrite elements while saving the one that needs to move
Change heap sort to avoid swap and instead overwrite elements while saving the one that needs to move

poseidon4o/fmi-res,poseidon4o/fmi-res,poseidon4o/fmi-res