fixed missing getSorting() method