fixed typos, column sorting