Edited sorting tables, all tables done.