miner.php correct sort gen field names largest to smallest