Yes, you can open the I/O table and scroll to the Custom Function Table and right click. You can shift up the custom function and if it shift to a point where there is already occupied the shifted C.F will be deleted both from the table and the function content.
Do make a copy of your code before you do drastic action such as moving the function. Just in case if you make a mistake you could recover from the back up copy.