sorting by gain or value doesn't work - only the date column works.....