use size_t type for memory size in memory allocation routines of SortLinkedList procedure