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.

['N', 'M', '3951', '6031', '2277', 'M', 'Z', '1755', 'g', '255', 'G', '3423', 'W', 'Q', '393', 'M', '5045', 'c', 'J', '9001', '8103']
N, M, M, Z, g, G, W, Q, M, c, J, 3951, 6031, 2277, 1755, 255, 3423, 393, 5045, 9001, 8103

['8221', 'K', '1765', 'M', 'e', '6605', 'V', '1145', '2631', 'T', '3247', 'U', '7467', '4829', '7459', 'D', 'C', 'B', '6607', '533', 'p', '6123', '2115', '763', '3957', 'k', 'h', '4709', 'p', 'K', 'z', 'U', '8891', '8585', 'x', '4605', 'q']
K, M, e, V, T, U, D, C, B, p, k, h, p, K, z, U, x, q, 8221, 1765, 6605, 1145, 2631, 3247, 7467, 4829, 7459, 6607, 533, 6123, 2115, 763, 3957, 4709, 8891, 8585, 4605

['4969', 'X', 'u', '3339', 'X', '961', '9797', 'g', 'c', 'N', 'Y', 'Y', 'A', 'o', '6527', '3623', 'U', 'A', 'h', 'd', '8197', 'b']

X, u, X, g, c, N, Y, Y, A, o, U, A, h, d, b, 4969, 3339, 961, 9797, 6527, 3623, 8197