Re: [PHP] Most popular word sorting

2011-07-13 Thread Stuart Dallas
On Wednesday, 13 July 2011 at 23:30, Ron Piggott wrote: > Is it possible in PHP to sort an array by most frequently occurring word / > phrase, 2nd most frequently occurring, third, etc. > > An example array is: > > Array ( [1] => Parable [2] => Mustard [3] => Seed [4] => Parable [5] => Good >

[PHP] Most popular word sorting

2011-07-13 Thread Ron Piggott
Is it possible in PHP to sort an array by most frequently occurring word / phrase, 2nd most frequently occurring, third, etc. An example array is: Array ( [1] => Parable [2] => Mustard [3] => Seed [4] => Parable [5] => Good [6] => Samaritan [7] => Parable [8] => Workers [9] => Vineyard [10] =>