Recognizing Numbers and Sorting