Formatted list.c to follow programming standards.
Removed the previous sorting functions.