fix whitespace
changed heapsort to heapsorted to emphasis it is non-destructive