Add sort order by 'Reference No.'
Closes #29