The sorting on the report Customer specification sort by period and then ref. number has now been fixed.