first time submission perform sorting operation