Added method to read and sort orders