LIB001-665

Sort thumbnails on record.php and search_results.php to ensure correct order of display.