From 10d56c2e045440dac69f1b29a90afe6705cff82f Mon Sep 17 00:00:00 2001 From: Jesse Gumm Date: Fri, 17 Jun 2016 17:14:46 -0500 Subject: [PATCH] Add another note to sort/[1-3] --- README.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.markdown b/README.markdown index b08e993..96958e0 100644 --- a/README.markdown +++ b/README.markdown @@ -253,6 +253,11 @@ before comparing (so it's only really comparing integers, which is quite fast). as the last argument. This follows the pattern in Erlang/OTP to put options as the last argument (for example, `re:run/3`) +**Note 3:** You'll notice that qdate's sorting retains the original terms (in +the example above, we compared a datetime tuple, unix timestamp, and two +strings (along with a number of non-dates, which were just prepended to the +front of the list). + ### Timezone Functions + `set_timezone(Key, TZ)` - Set the timezone to TZ for the key `Key`