Fixed issue with 3.1 were the sort order of all items in the list would be modified if one item is detected to have an sort order of 0
Formatting fix