Fix sorting issues when using FileMaker Server 11 or before