TASK DEFINITION: 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.
PROBLEM: ['2397', '1403', '7057', 's', 'e', 'd', 'n', '1851', 'n', '5057']

SOLUTION: s, e, d, n, n, 2397, 1403, 7057, 1851, 5057

PROBLEM: ['2743', 'u', 'n', 'O', '4655', 'g', 'L', '9047', '2557', 'w', '457', 't', 'G', '8077', '3523', 'N', '299', 'o', '3021', '6047', '7129', '4733', '2579', '4733', '65', 't', 'W', '5741']

SOLUTION: u, n, O, g, L, w, t, G, N, o, t, W, 2743, 4655, 9047, 2557, 457, 8077, 3523, 299, 3021, 6047, 7129, 4733, 2579, 4733, 65, 5741

PROBLEM: ['3311', 'c', '2269', '2355', 'g', 'I', 'M', 'q', 'h', 'z', '8509', '7857', '397', '5117', 'b', '8913', 'w', 'o', '1423', 'o', '6809', '5067', '8607', 'T', '1089', '669', '9733', 'o', 'y', 'z', '5979', '4895', 'c', '6949', '3543', '3879', 'd', 'U', '675', '5521']

SOLUTION:
c, g, I, M, q, h, z, b, w, o, o, T, o, y, z, c, d, U, 3311, 2269, 2355, 8509, 7857, 397, 5117, 8913, 1423, 6809, 5067, 8607, 1089, 669, 9733, 5979, 4895, 6949, 3543, 3879, 675, 5521