How to extend or correct a mistake in sorting by date?

Hello.

I saw a little bug in sorting by date. I want to sort media by creation date. The language culture (~/umbraco/Config/Lang/ru.xml, <language alias="ru" intName="Russian" localName="русский" lcid="" culture="ru-RU"> ) In this culture the date format is: dd.mm.yyyy hh:mm

There is no such format in umbraco_client/Dialogs/SortDialog.js That is why date sorting is wrong.

For example:

20.01.2015 17:40

20.01.2015 17:19

20.01.2015 17:16

20.01.2015 17:22

(by greater date to less)

Of course I can use culture "en-US' or "en-GB", it's work perfect. But it would be wonderful to use native russian culture.

What should I do? Can I extend cultureDateParser from SortDialog.js? I'm afraid if I change SortDialog.js , next umbraco update replace it to canonical version.

P.s. sorry for my bad english


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/73919-how-to-extend-or-correct-a-mistake-in-sorting-by-date