added comments to sort 2