Fixed Typos and OrderBy on tables