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.

['9857', 'G', 'H', '1209', '835', 'O', 'P', 'D', 'F', '7977', 'b', '3487', 'N', 'Z', 'B', 'n', 'D', '5737', '6391', '9995', '9541', 'p', '3317', '3503', '7447', '6135', '8581', 'X', '567', 'r']
G, H, O, P, D, F, b, N, Z, B, n, D, p, X, r, 9857, 1209, 835, 7977, 3487, 5737, 6391, 9995, 9541, 3317, 3503, 7447, 6135, 8581, 567

['5517', 'D', '4687', '7619', 'L', '6063', 'Z', 'v', '411', 'f', '8321', 'S', '7131', '5297', 'S', '2445', 'l', 'z', 'Z', 'D', 'j', '2007', 'f', '3147', '3659', '2051']
D, L, Z, v, f, S, S, l, z, Z, D, j, f, 5517, 4687, 7619, 6063, 411, 8321, 7131, 5297, 2445, 2007, 3147, 3659, 2051

['7549', '3655', 'n']

n, 7549, 3655