Fixing sorting bug in onyx instance list