Use the links at the top or bottom of the list to control sort order.
It Almost always finds the best path, but there are ways to trick it.
Crude but working version of good ol' minesweeper
X