im trying to do a heap bottom up construction from Psuedo code from my text book however the output im getting is not a correct heap im getting out 2 9 8 6 5 7
tinyxml2
loan-pattern
com4j
klaxon
japplet
asyncsequence
unhandled-promise-rejection
self-starting
jooq-codegen
import-maps
joystick
serverside-datatable
ckfinder3
braintree
observable-plot
moosex-types
jms2
cleartype
logfile
metrickit
sharepoint-2016
iec10967
text-chunking
immutable-x
gets
utilities
mturk
out-of-band
tadoquery
libtool