Updated dispatch function to use elv_add_tail instead of elv_sort