Sort field value score

Hi all,
i am using the Java API to perform a query using a sort field of type. String that is indexed but not analyzed. can anyone tell me how the scoring for string fields works ? In my case this field contains phone numbers in maybe various Format and i want to understand how exactly the sorting is done in this case . can anyone help? Currently the sorting works "somehow" but i need to know why....

Anyone?