heap file with bugs, sort incomplete