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.

['1177', '4739', 'W', 'M', '8895', '7313', '5197', '6097', '1583', 'g', '2001', 'c', '771', 'j', 'Y', 'K', '1007', '8887', '2173', '3737', '5797', 'H', '2031', '793', '5971', '6097', 'p', 'L', 'm', '7947', 'l', 'K', '1263', 'l', 'i', '8437', 'U', 'A']
W, M, g, c, j, Y, K, H, p, L, m, l, K, l, i, U, A, 1177, 4739, 8895, 7313, 5197, 6097, 1583, 2001, 771, 1007, 8887, 2173, 3737, 5797, 2031, 793, 5971, 6097, 7947, 1263, 8437

['5691', 'O', '2607', 'b', 'Z']
O, b, Z, 5691, 2607

['R', 'S', 'p', '543', 'E', 'o', 'G', '6975', 's', '271', '2725', '1539', '6169', 'z', '1091', 't', '7011', '823', 'D', '6689', 'X', 'r', '9097', 'Z', '3451', '4641', 'D', '7783', '8531', '715', '3395', '3393', '2057']

R, S, p, E, o, G, s, z, t, D, X, r, Z, D, 543, 6975, 271, 2725, 1539, 6169, 1091, 7011, 823, 6689, 9097, 3451, 4641, 7783, 8531, 715, 3395, 3393, 2057