Sorting of arrays of character

code link-https://ide.codingblocks.com/s/122717

please check and suggest me the edit to use the sort fnction to sort my arrays of character.

@shubhamshagy hey shubham you should read this
http://www.cplusplus.com/forum/general/123944/


here your code retag me if it is not so helpful

i mean using the sort fnction ,how to do it?

@shubhamshagy hey shubham you can’t use inbuilt sort function on 2d char array.It will give you error.