Added new method for finding order nearest to order specified