Re #7820. Fixing bug in sorting columns.
Merge remote-tracking branch 'origin/bugfix/7820_peaks_columns_sorting'