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: ['2775', 'u', 'E', 'U', '1205', 'p', '9771', '1329', 'E', '3493', 'G', 'z', '317', '51', '6395', '9727', 'Y', '2907', '3611', '3853', 'v', '8317', '9225', 'K', 'Z', 'j', 'y', 'T', 'h', 's', 'X', '9725', 'u', '1607', 'T']

SOLUTION: u, E, U, p, E, G, z, Y, v, K, Z, j, y, T, h, s, X, u, T, 2775, 1205, 9771, 1329, 3493, 317, 51, 6395, 9727, 2907, 3611, 3853, 8317, 9225, 9725, 1607

PROBLEM: ['r', 'g', '5847', '329', '6267']

SOLUTION: r, g, 5847, 329, 6267

PROBLEM: ['3197', '473', 'a', 'F', '7643', 'b', '9835', '1849', 't', '8925', 'k', '3443']

SOLUTION:
a, F, b, t, k, 3197, 473, 7643, 9835, 1849, 8925, 3443