Implement Singleton pattern on the Comparators; use compareTo implementation on Order base class to handle the number of shares ordered and the orderId comparison.