I have the following table Named: LISTON

```
| TYPE | MONTHS | New | Old |
+------+--------+-----+-----+
| A    | FEB    |  Y  |  N  |
| A    | MAY    |  Y  |  N  |
| A    | MAY    |  N  |  Y  |
| B    | MAY    |  Y  |  N  |
| A    | MAY    |  Y  |  N  |
| C    | MAY    |  Y  |  N  |
| D    | MAY    |  Y  |  N  |

```

I would like to arrange the data above into the format shown below:

```
| MONTHS |     A     |     B     |     C     |     D     |
|        | New | Old | New | Old | New | Old | New | Old |
+--------+-----+-----+-----+-----+-----+-----+-----+-----+
| JAN    |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
| FEB    |  1  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
| MAR    |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
| APR    |  0  |  0  |  0  |  0  |  0  |  0  |  0  |  0  |
| MAY    |  2  |  1  |  1  |  0  |  1  |  0  |  1  |  0  |

```

Is it possible to do that in SQL? by count or by sorting? Or any other ways would be helpful.