Hi Monica D,
How is the relative list item order calculated from tp_ItemOrder column, it is determined by the inner function in SharePoint 2010.
The number of order column grows from small to big, but there is no meaningful if you change the order many times. So you cannot calculated from the order column.
There are two workarounds.
1. You could create a number column and set the number manually, then order the list items by the number column. The number will be meaningful.
2. You could create event receiver. When the item is added or updated, you could get all values of the order column and compare these values, then set the meaningful number in a new column according to the sort. The workaround need some skills of development.
More references:
Creating SharePoint 2010 Event Receivers in Visual Studio 2010.
https://msdn.microsoft.com/en-us/library/office/gg252010(v=office.14).aspx
How to create a custom list level event receiver in SharePoint 2013 and SharePoint 2010.
http://www.sharepointpals.com/post/How-to-create-a-custom-list-level-event-receiver-in-SharePoint-2013-and-SharePoint-2010
How to: Read the Value of a Field in a List Item.
https://msdn.microsoft.com/en-us/library/office/ff521580(v=office.14).aspx
Best regards,
Sara Fan
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
tnmff@microsoft.com.
