added two inlines to sort_i.c