Fix on tiddler sorting

Hi,

encountered a problem when I created the first tiddler running clientserver edition. The server refused to start the second time. I guess some expected fields where missing in the tiddler when it tried to sort them. Anyway I saw the opportunity to make the sort a bit more robust. The server runs fine after this.