Revert "Revert "Made SnakList/Reference order-aware""

This reverts commit 4ca5b5134bfdc85493284263321cd445ae039aba.

Change-Id: Ieccf758b249fb95daaffdc8d0f79b08f98d17b4f