The datast is a number field, perhaps that is why it is not sorting?
Yes, you need this to be a text field. BTW, you have posted your question in the FM Server section of the forum instead the FM Pro section. This section is intended for questions related to using fileMaker Server and get's a lot less "traffic" than the FM Pro forum. Had you posted there, you probably would have gotten a much quicker answer.