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.

['H', '8371', 'D', 'p', '7145', 'f', '1423', 'L', '9495', '5085', 'B', '973', 'z', '4571', '1541', '9771', '7531', 'E', 'n', '1583', 'S', '8133', '307', 'Q', 'q', 'h', '4615', 'N', 'h', '6415', '9517', 'R']
H, D, p, f, L, B, z, E, n, S, Q, q, h, N, h, R, 8371, 7145, 1423, 9495, 5085, 973, 4571, 1541, 9771, 7531, 1583, 8133, 307, 4615, 6415, 9517

['Z', '2429', 'V', 'a', 'a', 'C', '325', 'a', '5107', '2665', '4305', 'R', 'z', '6109', 'Y', 'W', '1261', 'r', 'H', '1563', '5811', 'z', '5627', 'k', '529', 'e', '9687', 'G', 'K', 'E', '401', '8925', '4555', '8603', '8345', '3151', '1367']
Z, V, a, a, C, a, R, z, Y, W, r, H, z, k, e, G, K, E, 2429, 325, 5107, 2665, 4305, 6109, 1261, 1563, 5811, 5627, 529, 9687, 401, 8925, 4555, 8603, 8345, 3151, 1367

['Q', '1229', '2157', 'r', 'h', '7001', 'M', '213', 'N', 'L', '7223', 'o', '7747', '3311', '8499']

Q, r, h, M, N, L, o, 1229, 2157, 7001, 213, 7223, 7747, 3311, 8499