set the proper sorting numbers