Experiencing sorting problems with bigint columns

Parth2692
Databricks Partner
Experiencing sorting problems with bigint columns across tables tested.
 
Example:
In the table the projectid (bigint as per schema - which is correct) yet when sorted in SQL is sorting as per a string value
 
1000903 is returned as the minimum projectid value
998401 is returned as the maximum projectid value.