BugFix

Fixed the Table sort bug