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.

['9829', '5959', '1309', 'p', 'e', '4643', '5113', 'Z', '8103', 'f', 'p', 'B', 'D', '5305', 'U', '1867', 'r', 'K', '5249', 'w', 'Z', 'y', 'O', 'b', 'F', '9713', 'F', 'Z', 'l', '4163', '7839', '9779', '4343', 'A']
p, e, Z, f, p, B, D, U, r, K, w, Z, y, O, b, F, F, Z, l, A, 9829, 5959, 1309, 4643, 5113, 8103, 5305, 1867, 5249, 9713, 4163, 7839, 9779, 4343

['J', '279', 'V']
J, V, 279

['N', 'g', '4999', '8607', '2763', '4829', 'O', 'u', '891', '4835', 'A', '2141', 'o', '4479', 'U', '1283', '8591', 'W', 'a', 'O', '3675', '7631', '1525', '729', 'H', '2321', '2773', 'Z', '6617', '3851', 'i', '4619', 'B', 'r', '7141', 'i', '9113', 'B', 'x']

N, g, O, u, A, o, U, W, a, O, H, Z, i, B, r, i, B, x, 4999, 8607, 2763, 4829, 891, 4835, 2141, 4479, 1283, 8591, 3675, 7631, 1525, 729, 2321, 2773, 6617, 3851, 4619, 7141, 9113