Packets are not forwarded according to the requierments.
To solve this the solution is to implement Policy Based Routing. By usig PBR you can select traffic flows based source addresses and port numbers and indicate the exit interface or next hop to which hey should be sent to.
PBR configuration is fairly simple -- please refer to the config below:
policy-based-route PBR1 permit node 0
if-match acl 2001
apply ip-address next-hop 192.168.255.10
policy-based-route PBR1 permit node 1
if-match acl 2002
apply ip-address next-hop x.x.x.10
Both ACLs being used to select the 2 types of flows.
This happens because 2 static routes to the same destination will render a load-balancing behaviour that is not desired in this case.
Any time you need to use selective routing the simplest and most effective way to go is PBR.