added sortyBy - in progress