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.

['U', '3969', 'X', 'D', '1321', '749', '6621', 'f', 'd', 'i', 's', '8399', 'P', '9363', '495', 'e', 'o']
U, X, D, f, d, i, s, P, e, o, 3969, 1321, 749, 6621, 8399, 9363, 495

['9265', 'U', 'q', '6007', '1955', '421', '3679', '7363']
U, q, 9265, 6007, 1955, 421, 3679, 7363

['m', 'D', 'z', 'I', 'H', 'a', 'U', '8661', '8367', 'B', '1349', 'z']

m, D, z, I, H, a, U, B, z, 8661, 8367, 1349