I'm going to do the following operation of a list or numpy array:

```
[0, 0, 0, 1, 0, 0, 4, 2, 0, 7, 0, 0, 0]

```

move all non-zeros to the right side:

```
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 2, 7]

```

How can I do this efficiently?

Thanks

============

Sorry I didn't make it clear, I need the order of non-zeros elements remains.