Jinoy,
do you have the right config that enables sorting using the sort transaction?
EWM IMG --> Master Data --> Activities Area --> Define Sort Sequence for Activity Area. you need to have an entry here for the putaway activity and your activity area. If you do have this can you show us the error you are getting while trying to sort.
Thanks,
FC