how to add an auto increatement ID on sales order list at the first column ?

Hi Erik, Thanks for you reply, yup , the 1st way, i have tried, after changed the default sort, the number changed to be incorrect, I want to use onNextRecord, But no experice on this function, could you guide me a lot? thanks in advance.