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.

['4779', '4483', 'z', '8063', '3057', 'i', '4317', '2349', 's', '7385', '6717', 'S', 'y', 'p', 'O', 'T', 'x', '9253', 'Q', 'I', 'w']
z, i, s, S, y, p, O, T, x, Q, I, w, 4779, 4483, 8063, 3057, 4317, 2349, 7385, 6717, 9253

['4849', 'a', 'S', '1949', '3149', 'N', 'U', 'U', 'Y', '8719', '95', 'W', 'N', 'K', 'Y', 'h', '8043', '3017', 'r', 'e', 'q', 'd', 'x', '7791', '751', 'x', '153', 'd', '7211', 'c', 'y', '3711', '6429', '3663']
a, S, N, U, U, Y, W, N, K, Y, h, r, e, q, d, x, x, d, c, y, 4849, 1949, 3149, 8719, 95, 8043, 3017, 7791, 751, 153, 7211, 3711, 6429, 3663

['5827', '653', '1233', '9825', 'F', '8219', 'K', '4377', 's', '2299', '8971', 'L', '1563', 'c', '881', '1781', '9093', '5971', '2399', 'Z', '6163', '4927', '9413', 'h', '4717', 'T', 'P', 'T', '6289', 'd', 'B', '2437', 'H']

F, K, s, L, c, Z, h, T, P, T, d, B, H, 5827, 653, 1233, 9825, 8219, 4377, 2299, 8971, 1563, 881, 1781, 9093, 5971, 2399, 6163, 4927, 9413, 4717, 6289, 2437