UK: _notes is stored as a dict export as a string, close #384
UK: use sorted records for test
Merge branch '384-xls-export-error' into stable

* 384-xls-export-error:
  UK: use sorted records for test
  UK: _notes is stored as a dict export as a string, close #384