The problem is that I pass a vector by reference and the terminal tells me it's wrong.
Here are the respective codes and errors:
ordenavector(&vector, cont);
test13.c: 21: 6: warning: passing argument 1 of 'ordenavector' from incompatible pointer type [enabled by default]
void ordenavector(int *vector[20], int numero);
test13.c: 2: 6: note: expected 'int **' but argument is of type 'int (*) [20]'