Sorting the deck by the date when added.
Using data() of Dialog class to pass the argument.