Original Post
Ok then,
How do i sort a linked list using the data it contains. Consider this:
typedef struct _SPHERE
{
_FVECTOR
center_pos;
float
radius,
struct _SPHERE
*next;
} _SPHERE;
I want to sort on radius so that all the smallest spheres are first in the list and the largest sphere is last in the list. I need code in straight C.
Thanks in advance
