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
gridbaglayout
tolist
viper-go
vsixmanifest
busboy
editor.md
ksh
verizon
ag-grid-react
data-communication
websphere-8
pyexcel
parallel-processing
renaming
get-wmiobject
team-explorer
mongoose-sequence
alarmmanager
double-free
line
carrot2
all-files
mobx
android-tvprovider
flutter-layout
htmltidy
minmax
read-text
windows-mobile-5.0
react-server-components