#include "radix.h"
struct sp {
int id,stamp;
};
int
main()
{
int i = 0;
struct sp s[5]={{2,1},{1,2},{3,3},{0,4},{4,5}};
radix_sort((char *)s,sizeof(struct sp),off(s[0],stamp),5);
for(; i < 5; i++) {
printf("%d %d,",s[i].id,s[i].stamp);
}
printf("\n");
return 0;
}