VM Instances error in order by ID (Version 5.4)

After upgrade to 5.4 from 5.2 I experience error in ordering VMs by ID, so I can’t see machines in order from newest to oldest.

Looks like there is problem with vm ID > 9999, so everything what have ID 10000 and up is at bottom :frowning:

Problem is in every view - cloud, user, admin… also if no order is specified, so looks like this is not sunstone error, but VMs are in bad order when returning from rpc api…

https://dev.opennebula.org/issues/5291