I am trying to do a very simple code in Maya python which will group my objects based on their value. The code that I have so far should be working but it doesn\'t. Can some