I've been trying to make a program that takes as input a scramble word,
gets the anscii value of that scrambled word, and numerically sorts it. And tries to find the same numerical order in the word list.

Heres the code:
Code:
#include <stdio.h>
#include <string.h>
//sort the anscci value numerically
void sort(int a[], int len) {
        int j, i, t;
        for(i=len-1;
...