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.

['z', '8187', '4529', '1919', 'P', 'z', '1201', '1097', '6543', '3119', '2985', '9259', '2779', '1863', 'c', '361', '5583', '1255', 'Z', 'B', 'E', '4107', 'B', 't', '8595', 't', 't', '8349', 'Z', 'G', 't', 'U', 'M', '5879', '9917', '6685', '5647']
z, P, z, c, Z, B, E, B, t, t, t, Z, G, t, U, M, 8187, 4529, 1919, 1201, 1097, 6543, 3119, 2985, 9259, 2779, 1863, 361, 5583, 1255, 4107, 8595, 8349, 5879, 9917, 6685, 5647

['291', 't', '3207', 's', '289', 'X', 'U', 'M', '2689', '3303', '9679', 's', 'Z', 'M', '3693', 'x', '7903', 'w', 'T', 'v', '3475', '2133', 'S', '8041', '7323', '8199', 'C', '1785', '9757', 'y', 'P', '6823', '1427']
t, s, X, U, M, s, Z, M, x, w, T, v, S, C, y, P, 291, 3207, 289, 2689, 3303, 9679, 3693, 7903, 3475, 2133, 8041, 7323, 8199, 1785, 9757, 6823, 1427

['D', '6093', '8599', '7121', 'd', '7837', 'm', 'H', '5221', 'U', 'D', '2353', '851', 'j', '5263', 'N', '801', '9299', '8557', '1417', '4941', '5145', '8771', '885', '6807']

D, d, m, H, U, D, j, N, 6093, 8599, 7121, 7837, 5221, 2353, 851, 5263, 801, 9299, 8557, 1417, 4941, 5145, 8771, 885, 6807