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: ['6005', '5761', '8525', 'm', 'H', 'U', 'I', 'C', '9565', 'M', 'H', 'l', '3179', 'i', 'Y', 'b', '9581', 'K', '6777', '3653']

SOLUTION: m, H, U, I, C, M, H, l, i, Y, b, K, 6005, 5761, 8525, 9565, 3179, 9581, 6777, 3653

PROBLEM: ['4501', '1925', '1997', 'b', 'V', '3107', '2497', 'H', 'U']

SOLUTION: b, V, H, U, 4501, 1925, 1997, 3107, 2497

PROBLEM: ['y', 'W', '3183', 'K', '9437', '6073', '9471', 'P', '5869', 'd', 'N', '7145', '6627', '8059', 'o', '7247', '705', 'd']

SOLUTION:
y, W, K, P, d, N, o, d, 3183, 9437, 6073, 9471, 5869, 7145, 6627, 8059, 7247, 705