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.

['Y', 'M', '2647', 's', '7917', 'p', '3605', '5895', 'k', '4215', '9063', 'T', '5345']
Y, M, s, p, k, T, 2647, 7917, 3605, 5895, 4215, 9063, 5345

['u', 'E']
u, E

['8865', 'd', 'X', 'q', 'X', 'V', '8263', 'G', '5065', '8437', 'C', '4051', '7319', '6577', '3319', 'L', '3315']

d, X, q, X, V, G, C, L, 8865, 8263, 5065, 8437, 4051, 7319, 6577, 3319, 3315