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.

['8927', '4495', 'H', '5399', 'K', 'i', '877', 'n', 'Y', '3979', '3817', 'm', 'i', 'u', 'j', 'X', '1849', '9491', '7567', 'P', 'L', 'B', '4095', '3985', '9199', '1137', '9221', '5751', 'r', 'r', '5223', '5441', '5837', '5569', '7149', 'A', 'n']
H, K, i, n, Y, m, i, u, j, X, P, L, B, r, r, A, n, 8927, 4495, 5399, 877, 3979, 3817, 1849, 9491, 7567, 4095, 3985, 9199, 1137, 9221, 5751, 5223, 5441, 5837, 5569, 7149

['s', 'F', '9491', 'F', '4309', '5021', '3923', '3213', '6727', 's', '9387', '7435', 'g', '7443', '5539', 'r', '3647', '6535', 'P', '1453', 'e', '323']
s, F, F, s, g, r, P, e, 9491, 4309, 5021, 3923, 3213, 6727, 9387, 7435, 7443, 5539, 3647, 6535, 1453, 323

['8077', 'X', '5875', '1953', 'H', 'l', '749', 'F', '7491', '6385', '3839', '2527', '1429', 's', 'R', '3869', '6385', '5143', 'n', '9555', 'A', 'n', '5945', '1715', 'R', 'k', '9001', 'Z', '5813', '7463', 'N']

X, H, l, F, s, R, n, A, n, R, k, Z, N, 8077, 5875, 1953, 749, 7491, 6385, 3839, 2527, 1429, 3869, 6385, 5143, 9555, 5945, 1715, 9001, 5813, 7463