Add sorting to tables using angular orderBy