Sorted messanges, problems with progressbar