Added interface and factory for sorting operations;