Extracted find() and sort() static functions in Tiles.c.
Extracted find() and sort() static functions in Tiles.c.

Extracted find() helper function to isolate bsearch() call.
Extracted sort() helper function to isolate qsort() call.

donmccaughey/FiendsAndFortune,donmccaughey/FiendsAndFortune,donmccaughey/FiendsAndFortune