I am a beginner to Python, and I was trying to get the below posted Python code to work but unfortunately, it does not give me the expected or the correct result.

I am trying to sort a simple list contains numbers using the built-in method sort() and after executing the program I get NONE as a result.

Please guide me to solve this problem.

**Python code**

```
a=[7,4,0,-5,30,2,11,84,6]
b=a.sort()
print(b)

```