removed broken sort function header