Refectored empty framework to sort processing date