Introduce `semverSortArrayHelpers` factory
Update development dependencies
Handle undefined collections

Resolves #2.