OrderBy & orderDir functionality added