In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to collate all the alphabetical elements at the start of the list followed by all the numerical elements of the list. Maintain the order in which the alphabetical elements appear in the given input list, and do the same for the numerical elements.

Q: ['P', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']

A: P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939
****
Q: ['3027', '8547', '6795', 'Q', '2737', 'v', 'i', 'V', 'o', '1523', 'W', '8717', 'L', '5091', '7495', '1307', 'E', 'm', '5417', '1231', '1959']

A: Q, v, i, V, o, W, L, E, m, 3027, 8547, 6795, 2737, 1523, 8717, 5091, 7495, 1307, 5417, 1231, 1959
****
Q: ['3007', 'Y', '4055', '3183', '4047']

A:
Y, 3007, 4055, 3183, 4047
****