gui loads minima from database faster

the sorting is done only after all minima are added