Create sortReferences.c