Date sort fixed in table view