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.

['9779', 'z', 'p', 'W', '7659', '2619', 'a', '3109', 'i', 'R', 'a', '5287', 'j', '3473', '4907', '7261', 'h', '5289', '43', 'l', 'M', 'o', 'm']
z, p, W, a, i, R, a, j, h, l, M, o, m, 9779, 7659, 2619, 3109, 5287, 3473, 4907, 7261, 5289, 43

['7709', 'a', 'P', 'G', '5441', '2055', '1573', '6041', 'J', 'N']
a, P, G, J, N, 7709, 5441, 2055, 1573, 6041

['u', 'G', '3313', 'm', '9843', '1867', 'Y', '7329']

u, G, m, Y, 3313, 9843, 1867, 7329