If what you need is the lowest price, you don't have to sort anything: as you are walking through the list, set a
variable to the lowest price you find. Initially let that variable be
which means that any price wins; thereafter, a price lower than this one wins. By the time you have finished loading the data structure you also know what is the lowest (and highest) price in it.