Added comparator for efficient cash dispensing.

Added comparator for efficient cash dispensing.