Web Programming (PHP, HTML, JAVA, etc.) question for Sorting arrays?

I need an answer as to which language (and hopefully pre-built algorithm) would be required to build a massive sort for multiple statements. i.e. "I would like to go to get ice-cream in toronto". I need the sort to find keywords (such as ice cream and toronto), then it needs to find people (in a website i control) and it needs to sort the people in order of an "availability" variable. I’m not asking that someone builds this, I am simply asking what program and what type of sort is the best for achieving some sort of undertaking like this.

java runs faster then php i think and if you want to go for speed i recommend you to use hasmaps or some sort of hastables not a sorted array… hastables uses linear algorithms to get the variables that means is really fast and its eays
if realy need arrays(i don’t see why) quick sort is proved to be the best comparing sorting method..
and you don’t have only numbers that mean you can’t applay a numerical sorting algorithm

still i recommend java with hasmaps

One Response to “Web Programming (PHP, HTML, JAVA, etc.) question for Sorting arrays?”

  • tica says:

    java runs faster then php i think and if you want to go for speed i recommend you to use hasmaps or some sort of hastables not a sorted array… hastables uses linear algorithms to get the variables that means is really fast and its eays
    if realy need arrays(i don’t see why) quick sort is proved to be the best comparing sorting method..
    and you don’t have only numbers that mean you can’t applay a numerical sorting algorithm

    still i recommend java with hasmaps
    References :

Leave a Reply