on my machine, I can get '01', but OJ gets '10', can anyone help?

```
class Solution:
# @param A a list of integers
# @return nothing, sort in place
def sortColors(self, A):
length = len (A)
p = 0
for i in range(length):
if A[p]==0:
A=[0] + A[:p]+A[p+1:]
p+=1
elif A[p]==2:
A= A[:p]+A[p+1:]+[2]
else:
p+=1
return A
sol = Solution()
print sol.sortColors([1,0])
```