Made SnakList/Reference order-aware

Change-Id: I2ce18fb2151d7d940bb020bcb7a594d74bfea35d