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.

['m', 'T', 'z', '4153', 'd', '3833', '2085', 'd', 'Q', '7615', '733', 'y', '735', '7795', 'U', 'K', '1951', 'i', '5127', '9621', '4871']
m, T, z, d, d, Q, y, U, K, i, 4153, 3833, 2085, 7615, 733, 735, 7795, 1951, 5127, 9621, 4871

['4223', 'a', '3161', '6925', '1553', 'y', '3481', 't', '5731', 'p', '5449', 'O', '1149', '6769', '2679']
a, y, t, p, O, 4223, 3161, 6925, 1553, 3481, 5731, 5449, 1149, 6769, 2679

['K', '1573', 'r', 'g', 'a', '595', '2253', '7683', 'H', 'O', '3029', '8455', '6209', 'R', '4957', '3167', 'L', '6897', '5227', '2847', '125', '6819', '3625', '5523', 'Z', 'x']

K, r, g, a, H, O, R, L, Z, x, 1573, 595, 2253, 7683, 3029, 8455, 6209, 4957, 3167, 6897, 5227, 2847, 125, 6819, 3625, 5523