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: ['Y', 'M', '2647', 's', '7917', 'p', '3605', '5895', 'k', '4215', '9063', 'T', '5345']

A: Y, M, s, p, k, T, 2647, 7917, 3605, 5895, 4215, 9063, 5345
****
Q: ['C', '7775', 'H']

A: C, H, 7775
****
Q: ['5485', 'w', '7935', '1983', '2113', '4279', '4977', 'M', 'h', '1629', '6241', '5985', 'e', '8249', '477', '1569', '9565', 'J', '8615', 's', 'i', 'z', '4129', '5901', 't', 'R', 'M', '9927', '9253', 'd', '3571', '4179']

A:
w, M, h, e, J, s, i, z, t, R, M, d, 5485, 7935, 1983, 2113, 4279, 4977, 1629, 6241, 5985, 8249, 477, 1569, 9565, 8615, 4129, 5901, 9927, 9253, 3571, 4179
****