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: ['2233', '9465', '4759', 'c', '1145', '6207', 'M', 'e', 'Y', 'J', '6549', '9775', '5965', '7787']

A: c, M, e, Y, J, 2233, 9465, 4759, 1145, 6207, 6549, 9775, 5965, 7787
****
Q: ['435', 's', '5299', 'J', '9037', '1833', '8825', 'u', '1879', '3037', 'U', 'X', 'L', 'l', 'D', '7073', 'o', '775', '7225', '7875', 'W', 'q', 'Q', '9385', 'U', '1195', '8393', 'd', 'r']

A: s, J, u, U, X, L, l, D, o, W, q, Q, U, d, r, 435, 5299, 9037, 1833, 8825, 1879, 3037, 7073, 775, 7225, 7875, 9385, 1195, 8393
****
Q: ['J', 'B']

A:
J, B
****