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.

['5663', 'Z', '4817', 'i', '3497', 'q', '5021', '9041', 'F', '9617', 'j', 'H', 'q', 'r', '9121', '5007', '8547', 'L', 'z', '169', '3415', 'H', 'z', 'N', '6873', '5259', 'W', '2691', 'c', 'a', 'U', '3415', '6161', '6467']
Z, i, q, F, j, H, q, r, L, z, H, z, N, W, c, a, U, 5663, 4817, 3497, 5021, 9041, 9617, 9121, 5007, 8547, 169, 3415, 6873, 5259, 2691, 3415, 6161, 6467

['W', '6247', '7925', '1427', 'v', 'd', '9707', 'q', '6883', '1441', '3913', '265', 'z', 'Q', 'T', 'u', 's', 'p', 'r', '5303', 'L', '8169', '6587', '3293', 'Z', 'G', 's', '4905', '4785', '6537', '1949', 'w', 'G', '7063']
W, v, d, q, z, Q, T, u, s, p, r, L, Z, G, s, w, G, 6247, 7925, 1427, 9707, 6883, 1441, 3913, 265, 5303, 8169, 6587, 3293, 4905, 4785, 6537, 1949, 7063

['f', 'J', '4291', 'k', '2129', 'T', 'Y', 'g', '9461', 'O', '2373', 'f', '8453', 'h', '5067', 'G', '9763', 'V', 'e', '7519', '2977', '4623', 'j', 'G', '581', 'N']

f, J, k, T, Y, g, O, f, h, G, V, e, j, G, N, 4291, 2129, 9461, 2373, 8453, 5067, 9763, 7519, 2977, 4623, 581