Sort target versions in work package query filter

People expect the versions to be sorted in the work package query filter list.

see: https://www.openproject.org/work_packages/13133