Word Search Puzzle Class
(PHP 7.0 Version)

Word List Sorting

syntax: SortWords ( $optSort, $Word_List )

Applicable to:

Note: The sort can be applied to a copy of the word lists, or directly to the word lists.

Pre-Placement Sorts

Word List - Sorted with 'Order_In':

słowo, ćwikła, ściana, świerk, Andrew, Andy, William, Nicholson, A Really Long Word, 0123456789, 987653, đàn ông, đàn bà, trai, gái, mèo, chó, Word-01, Word-02, Word-03, The Other Really Long Word

Word List - Sorted with 'Length_DESC':

The Other Really Long Word, A Really Long Word, 0123456789, Nicholson, đàn ông, Word-03, Word-02, Word-01, William, świerk, ściana, 987653, ćwikła, Andrew, đàn bà, słowo, Andy, trai, gái, mèo, chó

Post-Placement Sorts

Order_In

Words Placed

słowo, ćwikła, ściana, świerk, Andrew, Andy, William, Nicholson, 0123456789, 987653, đàn ông, đàn bà, trai, gái, mèo, chó, Word-01, Word-02, Word-03

Words Remaining

A Really Long Word, The Other Really Long Word

AlphaNumeric_ASC

Words Placed

0123456789, 987653, Andrew, Andy, Nicholson, William, Word-01, Word-02, Word-03, chó, gái, mèo, słowo, trai, ćwikła, đàn bà, đàn ông, ściana, świerk

Words Remaining

A Really Long Word, The Other Really Long Word

AlphaNumeric_DESC

Words Placed

świerk, ściana, đàn ông, đàn bà, ćwikła, trai, słowo, mèo, gái, chó, Word-03, Word-02, Word-01, William, Nicholson, Andy, Andrew, 987653, 0123456789

Words Remaining

The Other Really Long Word, A Really Long Word

Length_ASC

Words Placed

chó, mèo, gái, trai, Andy, słowo, ćwikła, ściana, świerk, Andrew, 987653, đàn bà, William, Word-01, Word-02, Word-03, đàn ông, Nicholson, 0123456789

Words Remaining

A Really Long Word, The Other Really Long Word

Length_DESC

Words Placed

0123456789, Nicholson, đàn ông, Word-03, Word-02, Word-01, William, ściana, świerk, Andrew, ćwikła, 987653, đàn bà, słowo, Andy, trai, gái, mèo, chó

Words Remaining

The Other Really Long Word, A Really Long Word