C3 AI Interview Question

Custom value event sort, with secondary event markers to alter the priority