Removal of sortingStorage

All sorting will be done on temp Storage.