Construction for BST

does the followng code be applicable for the following

order{15,10,8,12,20,16,15} as it is a unsorted order and the following video explained about sorted order