Make NiceSort treat integers well
Make NiceSort treat integers well

NiceSort is invoked on arrays that may contain strings, but in other
situations can contain ints as well. As this surprisingly makes sense,
add a tiny modification to make NiceSort work in these conditions.

Signed-off-by: Hrvoje Ribicic <be5828fca31f89218048bec4189e30a581aa65da@google.com>
Reviewed-by: Jose A. Lopes <0fb9c4f8511df4ec2ae28af879e9d462f6218a2c@google.com>

yiannist/ganeti,grnet/snf-ganeti,apyrgio/snf-ganeti,grnet/snf-ganeti,bitemyapp/ganeti,leshchevds/ganeti,leshchevds/ganeti,ganeti/ganeti,onponomarev/ganeti,yiannist/ganeti,mbakke/ganeti,ganeti/ganeti,dimara/ganeti,mbakke/ganeti,apyrgio/ganeti,ganeti/ganeti,onponomarev/ganeti,yiannist/ganeti,dimara/ganeti,andir/ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/ganeti,mbakke/ganeti,andir/ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,apyrgio/snf-ganeti,bitemyapp/ganeti