Added functions sort_indices_* to function_signatures.h