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

['291', 't', '3207', 's', '289', 'X', 'U', 'M', '2689', '3303', '9679', 's', 'Z', 'M', '3693', 'x', '7903', 'w', 'T', 'v', '3475', '2133', 'S', '8041', '7323', '8199', 'C', '1785', '9757', 'y', 'P', '6823', '1427']
t, s, X, U, M, s, Z, M, x, w, T, v, S, C, y, P, 291, 3207, 289, 2689, 3303, 9679, 3693, 7903, 3475, 2133, 8041, 7323, 8199, 1785, 9757, 6823, 1427

['F', '7655', 'C', '8267', '6905', '3851', 'f', '7197', '5837', 'X', '4577', '6151', 'Y', 'P', 'X', 'd', 'S', '9683', '9477', '2219', '6899', 's', 'J', '2965', 'y', 'z', '5021', '1631', 'Y', 'R', '773', '3091', '9435', '4595', '2673', '2791', 'k', '8785']

F, C, f, X, Y, P, X, d, S, s, J, y, z, Y, R, k, 7655, 8267, 6905, 3851, 7197, 5837, 4577, 6151, 9683, 9477, 2219, 6899, 2965, 5021, 1631, 773, 3091, 9435, 4595, 2673, 2791, 8785