Sort available version updates by release date

Straightforward. Also makes room for other more complex sortings by moving the sorting logic from a lambda to a full-blown private function.