UK: _notes is stored as a dict export as a string, close #384
UK: use sorted records for test
Merge pull request #388 from onaio/384-xls-export-error2

fix  TypeError: sequence item 0: expected string, dict found