Fixed a bug which made the edit link unclickable
Added natural dynamic sorting

New attributes for sortable tables: sort-column (0 ... x) for default
sort col in template and sort-direction (asc, desc) for default sort
order on load