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.

['B', 'H', 'm', 'S']
B, H, m, S

['u', 'x', 'x', '905', '2635', 'H', '8797', '1695', '3545', 'e', '9241', '3829', '9471', 'm', '97', 'h', '5031']
u, x, x, H, e, m, h, 905, 2635, 8797, 1695, 3545, 9241, 3829, 9471, 97, 5031

['4659', '9387', '5983', 't', '1273', '6299', '2657', '9781', 'B', 'C', 'E', '1041', 'o', '1969', '9979', '2787', '5953']

t, B, C, E, o, 4659, 9387, 5983, 1273, 6299, 2657, 9781, 1041, 1969, 9979, 2787, 5953