Fixed table (ordering now works!), cleared warnings.