add a sorting index to the Shape Category model