Nov-30-2020, 07:21 PM
(Nov-30-2020, 04:44 PM)deanhystad Wrote: Is it ok to sort the list first?
Yes, my list is very big, and there is thousands of numbers bigger than the ones from list 'a', so even if the list is sorted it will take a lot of steps/time to find the biggest number that is equal or smaller than the one from list 'a'.