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.

['S', '6507', '8903', '8863', 'S', '8077', '7313', '4731', '8515']
S, S, 6507, 8903, 8863, 8077, 7313, 4731, 8515

['J', '9311']
J, 9311

['4357', 'H', 'i', 'p', 'I', '7131', 'X', '6917', '3537', '9235', '167', '3369', '9121', 'L', '8709', '7125', 'd', 'k', 'D', 'v', '2855', '1357', 'C', 'i', '7835', 'y', 'G', '8245', '7971', '8397', 'v', 'X', '3227']

H, i, p, I, X, L, d, k, D, v, C, i, y, G, v, X, 4357, 7131, 6917, 3537, 9235, 167, 3369, 9121, 8709, 7125, 2855, 1357, 7835, 8245, 7971, 8397, 3227