NancyFx/Nancy — pull request #1378 by phillip-haydon (2013-12-20 16:54:37+00:00)
Title: Fix for issue #1096 (DateTime converter on model binding)

This PR replaces the botched #1099 PR.

The unit test in question is fine, the unit test didn't include the type converter, however the Fallback converter was being called before the Date so the Date Converter didn't have a chance to say he could convert it.

I added an Order property and order the collection before looking for the first matching one.

I figured this solution was fine since there's only 4-5 converters so the overhead of sorting would be almost nothing, if not nothing already.

Fixed up a few places where type converters were being used.