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.

['x', 'u', '6687', '3617', '4795', '3665', 'A', '4355', '9183', '3477', 'B', 'P', 't', 'L', 'G', 'o', 'c', 'U', 'n', '1453', '2499', 'B', 's', 'd', 'm', 'n', '959', 'K', 'H', '9159', 'H', '8191', 'B', '4837', '9287', '7891', '8529', '3229', '377']
x, u, A, B, P, t, L, G, o, c, U, n, B, s, d, m, n, K, H, H, B, 6687, 3617, 4795, 3665, 4355, 9183, 3477, 1453, 2499, 959, 9159, 8191, 4837, 9287, 7891, 8529, 3229, 377

['y', '2123', '9851', '2975', 'I', '5053', '7519', '5773', 'r', 'H', '9901', '5001', '2233', '1683', '4779', '3897', 'P', 'O', 'j', 'J', '6993', '7271', '9121', '2631', '6019', '3003', '3687', '3053', 'G', '2009', 'c', 'l', '8441', '9143', 'c', '7701', 'p', '4845', 'E']
y, I, r, H, P, O, j, J, G, c, l, c, p, E, 2123, 9851, 2975, 5053, 7519, 5773, 9901, 5001, 2233, 1683, 4779, 3897, 6993, 7271, 9121, 2631, 6019, 3003, 3687, 3053, 2009, 8441, 9143, 7701, 4845

['1321', 'e', '4857', 'p', '1599']

e, p, 1321, 4857, 1599