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.

['x', '7833', '9383', 'm', 'g', '2615', '691', 'D', '8627']
x, m, g, D, 7833, 9383, 2615, 691, 8627

['4367', 'd', '869', '9437', '1241', '5197', '9561', '1617', '1021', '2239', '6355', 'G', 'P', '5951', 'S', 'j', '617', 'w', 'T', 'j', 'R', 'h', 'f', 'g']
d, G, P, S, j, w, T, j, R, h, f, g, 4367, 869, 9437, 1241, 5197, 9561, 1617, 1021, 2239, 6355, 5951, 617

['4577', 'U', '4833', 'D', 'x', '1889', 'l', '6977']

U, D, x, l, 4577, 4833, 1889, 6977