Can i sort the array of string using sort function?

Can i sort the array of string using sort function??

@Avishek-Kumar-2445349249011561 Yes you can do that. In this case, by default sort function will sort in dictionary order.