sort function dose to seem to work

my sort function dose nt work. for example
my_list=("dave,""ted,""bill,""ned,""zack")
my_list.sort
when i press enter it says (sort is not attribute?
any help would be great thank you

Hello @maxie2396 ,

are you sure you are posting the correct group?
Your syntax is not R.
Are you mixing R and Python?

R syntax would be (and note the order of comma's and quotes):

my_list=list("dave","ted","bill","ned","zack")