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.

['9731', 'W', '5347', '8895', 'Y', 'H', 'X', '207', 'a', '9737', 'q', 'q', '1717', 'Y', '2329', '427', '5513', '905', 'r', 'H', 'S', '5043', 'c', 'E', '7305', 'r', '2043', 'w']
W, Y, H, X, a, q, q, Y, r, H, S, c, E, r, w, 9731, 5347, 8895, 207, 9737, 1717, 2329, 427, 5513, 905, 5043, 7305, 2043

['N', '6887', '8543', '3155', '4193', 'M', 'T', 'I', '2149', 'e', 'm', '4615', 'G', 'S', 's', '6087', '7113', 'Y', 'O', 'K', '2753', 'k', 'r', '315', 'p', 'f', '1449', 'Q', '3953', '5841', 'y']
N, M, T, I, e, m, G, S, s, Y, O, K, k, r, p, f, Q, y, 6887, 8543, 3155, 4193, 2149, 4615, 6087, 7113, 2753, 315, 1449, 3953, 5841

['y', 'N', '8579', '9073', '5327', 'b', '9723', 'J', '2119', '2845', '2349', '9613', '3481', 'P', '4251', '3989', 'g', '7997', 'D']

y, N, b, J, P, g, D, 8579, 9073, 5327, 9723, 2119, 2845, 2349, 9613, 3481, 4251, 3989, 7997