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.

['597', '6047', 'c', 'B', 'Z', '9349', '561', '8815', '4407', 't', '4855', '7361', '5215', 'q', '9735', 'A', 'n', '4895', '7731', '4227', '9977', 'J', 'p', '6473', 'd', '9137', 'L', '745', 'C', 'T']
c, B, Z, t, q, A, n, J, p, d, L, C, T, 597, 6047, 9349, 561, 8815, 4407, 4855, 7361, 5215, 9735, 4895, 7731, 4227, 9977, 6473, 9137, 745

['o', '5729', 'd', 'H', '2703', '5361', '3099', '7177', '7025', '7867', 'T', 'k', '3615']
o, d, H, T, k, 5729, 2703, 5361, 3099, 7177, 7025, 7867, 3615

['5173', 'X', '705', 'z', '8101', '1941', '549', '963', 'h', '6797', 'S', '8077', 'p', 'R', '2023', 'O', '6045', '1789', '9087', '8937', 'q', '9339', 'c', 'r', '2417', '3567', '3617', '4809', 'q', 'l', 'M']

X, z, h, S, p, R, O, q, c, r, q, l, M, 5173, 705, 8101, 1941, 549, 963, 6797, 8077, 2023, 6045, 1789, 9087, 8937, 9339, 2417, 3567, 3617, 4809