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

['W', '9329', 'X', '8909', 'L', '5185', 'L', 'K', 'c', 'L', '401', '5917', '931', '3857', 'c', '611', 'v', 'n', '9705', 'M', 'y', '5093', 'A', 's', '6925', 'a', 'P', '3349', '7439', '905', '217', 'r', '5797', 's', '5049', '5441', 'p']
W, X, L, L, K, c, L, c, v, n, M, y, A, s, a, P, r, s, p, 9329, 8909, 5185, 401, 5917, 931, 3857, 611, 9705, 5093, 6925, 3349, 7439, 905, 217, 5797, 5049, 5441

['q', 'm', '5629', '2039', 'B', '1583', 'E', 'D', 'O', 'g', '4005', '1731', 'V', 'l', 'n', 'k', '4579', 'm', '1365', 'U', '6943', 'J', 'z', '827', '8317', 'q', 'e', 'B', 'T', '4559', '1823', '5949']

q, m, B, E, D, O, g, V, l, n, k, m, U, J, z, q, e, B, T, 5629, 2039, 1583, 4005, 1731, 4579, 1365, 6943, 827, 8317, 4559, 1823, 5949